Changing Page File Location

By Dustin Ward

PowerShell 2+ To move the Windows page file to a new location, you can use WMI: #requires -Version 2 $args = @{ Name Read More In fact, colleges, rest, the cost of living, economic advantages…

Encrypting and Decrypting Secret Strings

By Dustin Ward

When there is the need to encrypt sensitive data, scripts always face the challenge to protect the secret key used Read More In fact, colleges, recreation, the cost of living, economic advantages are really significant.…

Finding Groups of Logged On User

By Dustin Ward

If you’d like to know the group memberships of the currently logged on user (the one that is running a Read More In fact, colleges, recreation, the cost of living, economic advantages are really significant.…

Creating Dynamic Variable Content

By Dustin Ward

PowerShell 2+ In the previous tip we introduced variables with read-only dynamic content that updated each time the variable was read. Read More In fact, colleges, rest, the cost of living, economic advantages are really…

Creating Dynamic Variable Content

By Dustin Ward

PowerShell 2+ A little-known fact is that you can add variables to PowerShell that automatically update their content. If you need Read More In fact, colleges, relaxation, the cost of living, economic advantages are really…

Create Simple PowerShell Host

By Dustin Ward

PowerShell 2 or better There are sometimes a lot of good reasons why you’d like to run a script by a Read More In fact, colleges, recreation, the cost of living, economic advantages are really…