Tag Archives: User

Powershell: Encrypt and decrypt strings with the host key

Hi,

each Windows machine has it’s own host key. This can be used to encrypt data which are only decrypted by this computer.

Continue reading Powershell: Encrypt and decrypt strings with the host key

Advertisment to support michlstechblog.info

vSphere: Remove orphaned user from an sso group by command line

Hi,

after migrating a vSphere vCenter instance from Windows to the VCSA appliance some (Windows local user which do no longer exists on linux) orphaned user are member of an SSO group.

Continue reading vSphere: Remove orphaned user from an sso group by command line

Linux: Add a user with a disabled password

Hi,

these commands adds a user with a disabled password:
Continue reading Linux: Add a user with a disabled password

Windows: Store credentials to access a share

Hi,

the credialstore offers the ability to store credientials to access some resources without entering the password every time when the resource is used.
Continue reading Windows: Store credentials to access a share

Windows: Get all groups a user is memberof by dsquery/dsget recursive

Hi,

The “net” builtin commands of Windows have some limitations: It truncates groupnames longer then 20 Characters, it cannot resolve group in group memberships….

dsget/dsquery are (LDAP) command line interfaces for active directory. For using these commands you have to install the Windows RSAT Tools (Remote Server Administration Tools).

Some examples.
Continue reading Windows: Get all groups a user is memberof by dsquery/dsget recursive