Problems:

Active Directory

Active Directory related stuff commands not detected as the name of a cmdle:

PS C:\Users\exadmin\Documents> Get-ADDomainController
The term 'Get-ADDomainController' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Solution:

1
2
3
PS C:\Users\exadmin\Documents> Get-Module -listavailable
PS C:\Users\exadmin\Documents> Import-Module ServerManager
PS C:\Users\exadmin\Documents> Add-WindowsFeature RSAT-AD-PowerShell

Note: the first command is not mandatory, it will give you the list of all available modules

vSphere / vCenter

Cannot change administrator password:
VmDirForceResetPassword failed (9106)
Solution:

1
2
3
(remote) [email protected]:/# /usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name localhost
vcsa.local
(remote) [email protected]:/#

The solution here is to use [email protected] as the account UPN.

Edit

Pub: 30 Mar 2023 06:32 UTC

Edit: 30 Mar 2023 06:36 UTC

Views: 66