Get-ScriptVariables.ps1 is my take on a variable inventory script I found on Powershell.com. I changed the function name, as Get-Variable already in use, gave a unique name to function variables to exclude, added other system variables, and added example to show current values with enumeration.
Tag: ISE
Enabling ISE and ActiveDirectory module on Windows 2008 R2 Member Server
So, I wrote a pretty cool script and sent it to a co-worker. I wrote it on a Windows 7 PC with the RSAT tools installed. My friend tried to run it on a 2008 R2 server with PowerShell 3.0, but the ActiveDirectory module would not load. I tried to edit the script, but ISE…