Welcome to the Irish Premier Field Engineering blog
Windows Server 2000
Windows Server 2003
Windows Server 2008
Browse by Tags
Tagged Content List
Scripting: Hyper-V - Mount VHDs by right clicking
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 and Unmount-VHD.ps1) along with a REG file...
25 Jul 2008
Scripting: Check if a W2K3 box is running Terminal Server in Application Mode
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 the TSEnabled value in : HKLM\Software...
6 Jun 2008
Scripting: How to edit an INI file from a script
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 to make the script re-useable. So here...
8 May 2008
Batch Files : Date Stamp in a filename
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=/ " %%i in ("%date%") do set datestring...
8 May 2008
Windows 2000 Terminal Server : Modify RDP-tcp permissions via script
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 this class is not available in Windows 2000. To get...
8 May 2008
Page 1 of 1 (5 items)
© 2013 Microsoft Corporation.
Privacy & Cookies