Showing archive results for 2016

Mar 12, 2016
Post comments count0
Post likes count0

PowerTip: Configure a client to listen for content requests by using PowerShell when powered on battery

Doctor Scripto

Summary: Learn how to configure a client to listen for content discovery requests even when running on battery with Windows PowerShell.  How can I use Windows PowerShell to configure a client to listen for content discovery requests even when my computer's running on battery?  Open Windows PowerShell with elevated permissions, and use the Enable-B...

Scripting Guy!Windows PowerShellPowerTip
Mar 12, 2016
Post comments count0
Post likes count0

PowerTip: Use PowerShell to dismount a disk image

Doctor Scripto

Summary:  Learn how to use Windows PowerShell to dismount a virtual disk or ISO.  How can I use Windows PowerShell to dismount a virtual disk?  Use the Dismount-DiskImage cmdlet. It will dismount either an ISO or a virtual hard disk. Specify the path then using -imagepath. Here is an example: Dismount-DiskImage -imagepath “C:\fso\myisodisk.iso”

Scripting Guy!Windows PowerShellPowerTip
Feb 28, 2016
Post comments count0
Post likes count0

PowerTip: Use PowerShell to disconnect virtual disk

Doctor Scripto

Summary: Learn how to use Windows PowerShell to disconnect from a virtual disk.  How can I use Windows PowerShell to disconnect from a virtual disk?  Use the Disconnect-VirtualDisk cmdlet and specify the friendly name, for example: Disconnect-VirtualDisk -FriendlyName VirtualDisk01

Scripting Guy!Windows PowerShellPowerTip
Feb 28, 2016
Post comments count0
Post likes count0

PowerTip: Disconnect sessions to ISCSI target with PowerShell

Doctor Scripto

Summary: Learn how to disconnect sessions to a specified ISCSI target with Windows PowerShell.  How can I use Windows PowerShell to disconnect sessions to a ISCSI target object?  Use the Get-ISCSITarget cmdlet to retrieve the target, and then supply it as a node address for Disconnect-ISCSITarget, for example: Get-IscsiTarget $Tar = Get-IscsiTarge...

Scripting Guy!Windows PowerShellPowerTip
Feb 27, 2016
Post comments count0
Post likes count0

PowerTip: Enable and disable ODBC performance counter settings with PowerShell

Doctor Scripto

Summary: Learn how to enable and disable a collection of ODBC performance counter settings for troubleshooting.  How can I use Windows PowerShell to enable the ODBC performance counters, run commands in a script, and then disable the counters?  You can store a returned object for later use when you enable the performance counters by using the -Pas...

Scripting Guy!Windows PowerShellPowerTip