Powershell: En- and Decrypt string with AES256

Hi,

if you have the requierment to encrypt strings in Powershell the .NET Framework offers some classes for this case. This is a symmetric encryption. Receiver and Sender uses the same Password/Key to en- and decrypt the message.
Continue reading Powershell: En- and Decrypt string with AES256

Advertisment to support michlstechblog.info

Linux: mount.cifs failed with host is down

Hi,

due to some security issues (Wannacry) Windows administrators are going to disable the unsecure smb1 protocol.

mount.cifs is using smb1 by default. So when you tried to connect to a Windows machine where smb1 is disabled you get an error: mount error(112): Host is down.
Continue reading Linux: mount.cifs failed with host is down

Windows PE: Disable DPI autoscaling

Hi,

if you start an application on Windows PE which is not “compatible” with the Windows Display autoscaling feature the applications forms is shown “deformed”. Fonts does not scale down and are shown bigger then the controls itself.

You can prevent Windows from doing this 🙂
Continue reading Windows PE: Disable DPI autoscaling

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

VMware ESXi: A (incomplete) list of host commands Part 5

Hi,

some more commands…

Capture Network Packets on the a physical interface
Continue reading VMware ESXi: A (incomplete) list of host commands Part 5