PowerShell for Windows Admins:

March, 2018


March 5, 2018  7:00 AM

Cmdlet parameters

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I discovered another way to investigate cmdlet parameters. If you dig into the output of Get-Command you’ll see it has a parameters property

PS> Get-Command Clear-RecycleBin | select parameters

Parameters
----------
{[DriveLetter, System.Management.Automation.ParameterMetadata],...

March 4, 2018  10:41 AM

Finding special folders

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Windows has a number of special folders. These can be accessed either directly through the file system – for example the Documents special folder is C:\<user>\Richard\Documents or through code. But how do you go about finding special folders. The easiest way is to use this...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: