#PSTip How can I tell if I’m in a remote PowerShell session?
Note: This tip requires PowerShell 3.0 or above. There are times where you’ll want to determine if the session your code is running in is a remoting session.
Read MoreNote: This tip requires PowerShell 3.0 or above. There are times where you’ll want to determine if the session your code is running in is a remoting session.
Read MoreNote: This tip requires PowerShell 2.0 or above. When running long running scripts, we prefer to log the activities performed to a log file.
Read MoreNote: This tip requires PowerShell 3.0 and Windows 8 or above. Starting with Windows 8, mounting virtual hard disks or ISO files is not an issue anymore.
Read MoreNote: This tip requires PowerShell 2.0 or above. PowerShell has the $error automatic variable. It contains a collection of the errors that occurred while the PowerShell engine has been running.
Read MoreNote: This tip requires PowerShell 3.0 or above. At times, we find the need to list all cmdlets that accept a specific type of object as input.
Read MoreNote: This tip requires PowerShell 2.0 or above. Tab completion and IntelliSense (in ISE) are greatly improved in PowerShell 3.0. They provide names of cmdlets, functions, scripts, workflows, parameters, object properties and methods, paths, files, …
Read More