PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
I am attempting to setup some reporting using the 'GET' commands in this module. When the commands required (Get-SsoGroup / Get-SsoPersonUser) are run with a 'read-only' level account, I get...
**Example:** `Add-LDAPIdentitySource -Name 'stickers' -DomainName 'stickers.corp' -DomainAlias 'stickers' -PrimaryUrl 'ldaps://nyc-dc-01.stickers.corp:636' -SecondaryUrl 'ldaps://avs-dc-01.stickers.corp:636' -BaseDNUsers 'DC=stickers,DC=corp' -BaseDNGroups 'DC=stickers,DC=corp' -Username '[email protected]' -Password 'password' -Certificates 'C:\certs\nyc-dc-01.cer','C:\certs\avs-dc-01.cer'` **Output:** `Add-LDAPIdentitySource: Type or value exists` We are...
Hi, I got an error while trying to create the Farm Error: Failed to create the Farm , Cannot overload for "BaseImageVM_List" and argument count with 2 I have modified...
Hi dear all, I would like to count unique users not on the whole infrastructure but on certain pool only. The horizon view interface only allows you to have unique...
Hello I try to create a new pool on my Horizon via powershell and PowerCLI. And I have this issue: `Failed to create Pool with error: Exception calling \"ADContainer_ListByDomain\" with...
PS C:\Windows\system32> Set-HVPool -Poolname 'FulClnJSON' -Key 'automatedDesktopSpec.vmNamingSpec.patterNamingSettings.maxNumberOfMachines' -Value 4 Updating the Pool: FulClnJSON Exception calling "Desktop_Update" with "3" argument(s): "ExceptionType : VMware.Hv.InvalidArgument ErrorMessage : Invalid member name. ParameterName : automatedDesktopSpec.vmNamingSpec.patternNamingSettings.maxNumberOfMachines"...
Hi All, my understanding is that Add-ExternalDomainIdentitySource is in reality: ```powershell $connection.Client.AddActiveDirectoryExternalDomain( $DomainName, $DomainAlias, $Name, $PrimaryUrl, $BaseDNUsers, $BaseDNGroups, $Username, $Password, $DomainServerType) ```` I do not see the option for: -...
Scenario: Exporting pool settings from a desktop pool in one pod, for use in creating a replica pool in another pod. Source pool is Automated, Instant Clone, Blast protocol only....
VMware.HV.Helper\Get-HVPoolSpec fail unless a default HvServer connection is define, even if the -HvServer param is supplied. This is due to function calls within Get-HVPoolSpec to other functions that accept a...