Here is the script for shutting down a Virtual Machine. Have a close look in the script and look for change needed, like your virtual machine name, exit reasons etc. This script is tested under Win2k8 and Win2k8R2 Environment. Thanks Read More …
Category: PowerShell
Configuring PowerShell Web Access
Ever realized that Windows Server 2012 and Windows Server 2012 R2 has the PowerShell feature that can be run from Web Browser? YES it has that feature. Following is a screenshot of that: Now first thing you have to do Read More …
Hyper-V MAC Addressing
When you create a Virtual Machine on a Hyper-V Host, the MAC address is assigned to the each virtual network adapter automatically by the Virtual Machine Management Service running as a VMMS.exe in Task Manager. Hyper-V uses the below mechanism Read More …
Use PowerShell to List SMB Shares
Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2 Can you use your client machine to list the shares on the SMB block? Like windows 8? The following command retrieves the Server Message Block (SMB) shares on the Read More …
Set Printer Duplex Mode Using PowerShell
Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2 My friends were asking me on how to tidy up the printer. And I have to do it by using the PowerShell. Essentially to configure the default printing method Read More …