Browse by Tags
All Tags »
Scripting (RSS)
There are plenty of posts on the interweb that show you how to mount and unmount vhds via powershell. I downloaded the Hyper-V PowerShell management library from CodePlex.com here as created by James O'Neil . In it he kindly provides two scripts (mount-VHD.ps1
Read More...
I was recently asked (two hours ago) how to tell if a server was running Terminal Services in Application Mode. The customer wanted to run a different script if users were logged into a Terminal Server. They had looked through the registry and came across
Read More...
I was asked how to modify an INI from a script. Its quite straight forward. Firstly have a read of the Scripting Guy article here . It explains the process quite well actually. However, I wanted to go a step further and setup arguments
Read More...
Ive been asked this a number of times this past month.... How do I get the date into a filename in a batch file? Most people try using the %date% variable. Which will not work as you cannot have /'s in the filename. So, try this: for /f "tokens=1-4 delims=/
Read More...
I was recently asked how to modify the rdp permissions on a large number of Windows 2000 SP4 servers running in Remote Admin mode. Well, normally Id make use of WMI and make the changes using Win32_TSPermissionsSetting class. Unfortunatly
Read More...