The latest version of Remote PowerShell SDK simplifies authentication with Citrix Cloud. Now it is easier to create fully automated scripts as scheduled tasks and more convenient to authenticate.
Introducing Credential profiles
The Remote PowerShell SDK administrators can now create and a full set securely stored credential profiles
There are four credential profile types :. one local and three for the cloud. Each type supports an authentication method
- OnPrem :. Kerberos authentication for communication with local Delivery Controller
- CloudCas .: prompt for username / password for each PowerShell session
- CloudAPI: .. [1945004stored] customer ID and API key / secret of the user's Windows profile
- cloud token : customer ID and current owner token, not PowerShell sessions maintained
create a CloudAPI profile that bypasses the Citrix cloud authentication dialog manual, you must first create a Citrix Cloud API access SecureClient. This process can be found in the Citrix Cloud Console, under your Secure Client Download saves a file named secureclient.csv that should be kept in a safe place
Notice "Identity and Access Management.". By OnPrem authentication method, the specified target server in each SDK -AdminAddress parameter is honored. In each of the cloud methods, it will be ignored
Manage Credential profiles
Three new cmdlets available Credential create profiles and maintain .:
- Set-XDCredentials : Creates a new XDCredentials object from a (downloaded) Secure client file or data apikey and SecretKey pair and stores them in a persistent store credentials (-StoreAs) or temporarily in the current shell variable $ XDStoredCredentials .
- Get-XDCredentials with : Enters XDCredentials object either of credentials initialized currently standard in the tray set or stored and of the credentials store with the given name is assigned. Optionally, the cmdlet can kept the names of all credential profiles in memory list
- Clear XDCredentials :. Deletes the credential profile is currently set as the default in the shell, or, if present with a name, clears to save the specified credentials profile from the credentials.
Get-XDAuthentication cmdlets a profile parameters allow you to specify a stored profile, or if registered name is to accept, was expanded not specified, it searches called the profile store for a profile 'default. "A BearerToken parameters has also added a support token from a previously successful Citrix obtain cloud-registration that passed, as to be a different way to bypass manual authentication
. Note: Get-XDAuthentication replaces the old Get-CWCAuthentication. If you have scripts calling this cmdlet explicitly, you need to update it. However, if the old cmdlets is called indirectly by another SDK cmdlets, no changes are required.
[Create a standard credential profile
the following command creates a default credential profile for clients " citrixdemo " which will bypass manual authentication in the current and all following PowerShell sessions
Set-XDCredentials -CustomerId "citrixdemo" -SecureClientFile "c :. Temp secureclient.csv "-ProfileType CloudAPI -StoreAs" default "
create additional credential profiles
The following command creates a new credential profile named " test " for the customer " citrixtest ", a secure client for this customer with
Set-XDCredentials -CustomerId. " citrixtest "-SecureClientFile" c: temp secureclient2.csv "-ProfileType CloudAPI -StoreAs" test "
The following command creates a new credential profile named" prod "for the customer" citrixprod "that requires manual authentication.
Set-XDCredentials -CustomerId" citrixprod "-ProfileType CloudCas -StoreAs" prod "
the following command will list the three stored credential profile.
getters XDCredentials -listProfiles
Enter a credential profile
to execute a script that uses a credential profile, first perform the name " test " the following command.
Get-XDAuthentication -profileName " test "
to execute a script that uses a credential profile named" prod ", first run the following command.
Get-XDAuthentication -profileName "prod "
Run the following command to the default profile in the current session.
Clear XDCredentials
remove a credential profile
returnRun the following command to permanently the Credential profile with the name " test ".
Clear XDCredentials -profileName "test"
remove [Reference
For more information on this topic can be found in the documentation http://docs.citrix.com/en-us/workspace-cloud/apps-desktops-service/apps-and-desktops-remote-powershell-sdk.html
Download the Remote PowerShell SDK for the XenApp and XenDesktop service http://download.apps.cloud.com/CitrixPoshSdk.exe
You See also: https://www.citrix.com/blogs/2015/09/21/introducing-remote-powershell-sdk-for-workspace-cloud-applications-desktops-service
This comment has been removed by the author.
ReplyDeleteVery informative, thank you
ReplyDeleteXenapp And Xendesktop: Remote Powershell Sdk V2 For Citrix Cloud - What Is A Vpn Connection >>>>> Download Now
ReplyDelete>>>>> Download Full
Xenapp And Xendesktop: Remote Powershell Sdk V2 For Citrix Cloud - What Is A Vpn Connection >>>>> Download LINK
>>>>> Download Now
Xenapp And Xendesktop: Remote Powershell Sdk V2 For Citrix Cloud - What Is A Vpn Connection >>>>> Download Full
>>>>> Download LINK Ak