#PSTip Check if the path is relative or absolute
Note: This tip requires PowerShell 2.0 or above. You may want to check if a provided file/folder path is relative or absolute and perform appropriate action based on the result.
Read MoreNote: This tip requires PowerShell 2.0 or above. You may want to check if a provided file/folder path is relative or absolute and perform appropriate action based on the result.
Read MoreNote: This tip requires PowerShell 2.0 or above. If you are familiar with Windows Management Instrumentation (WMI), there are different types of WMI queries possible.
Read MoreNote: This tip requires PowerShell 3.0 or above. The PowerShell ISE 3.0 brought a lot of new features. One of them is the ability to hide parts of the code by folding them.
Read MoreNote: This tip requires PowerShell 2.0 or above. When a session is being debugged, PowerShell populates an automatic variable called _$PSDebugContext _which contains an object that has Breakpoints and InvocationInfo properties information about the …
Read MoreNote: This tip requires PowerShell 1.0 or above. In an earlier tip, we showed you how to resolve IP addresses using WMI.
Read MoreWhen we need to resolve addresses, we usually use the System.Net.Dns .NET class methods. In addition to the .NET method, we can also use WMI class–Win32_PingStatus–to achieve this.
Read More