Showing results for February 2016 - Scripting Blog [archived]

Feb 28, 2016
0
0

PowerTip: Use PowerShell to disconnect virtual disk

Doctor Scripto
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
0
0

PowerTip: Disconnect sessions to ISCSI target with PowerShell

Doctor Scripto
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
0
0

PowerTip: Enable and disable ODBC performance counter settings with PowerShell

Doctor Scripto
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
Feb 27, 2016
0
0

PowerTip: Enable PerfMon counters for ODBC connection pooling with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to enable Windows Performance Monitor counters for ODBC connection pooling.  How can I use Windows PowerShell to enable Windows Performance Monitor (PerfMon) counters so I can troubleshoot Open Database Connectivity (ODBC) connection pooling?  Use the Enable-ODBCPerfCountger cmdlet and specify the platf...

Scripting Guy!Windows PowerShellPowerTip
Feb 26, 2016
0
0

PowerTip: Use PowerShell to disable constrained delegation

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to disable constrained delegation.  How can I use Windows PowerShell to disable constrained delegation authorization so that a user who is remotely connected to a SMB server cannot configure resources?  Use the Disable-SmbDelegation cmdlet, and specify the client and the SMB server, for example: Disable...

Scripting Guy!Windows PowerShellPowerTip