Showing results for June 2016 - Scripting Blog [archived]

Jun 30, 2016
0
0

PowerTip: Get a GUI interface for any PowerShell cmdlet

Doctor Scripto
Doctor Scripto

Summary: Use the Show-Command to build PowerShell cmdlets. I ran into a problem. Some cmdlets have too many parameters to list. Is there an easy way to build a cmdlet with its parameters for the console? You’ll love this trick! Just use the Show-Command cmdlet with any PowerShell cmdlet to get a GUI interface. In the following example, we use ...

Windows PowerShellPowerTipguest blogger
Jun 30, 2016
0
0

Find ready-to-use sample PowerShell scripts in the GUI

Doctor Scripto
Doctor Scripto

Summary: Honorary Scripting Guy, Sean Kearney, goes over some often missed, easy-to-use PowerShell techniques for those who are starting out. I had heard a rumor that many of the management tools actually run PowerShell code in the backend. Is there any way to see what code it’s running? Honorary Scripting Guy, Sean Kearney, is here today, ...

Windows PowerShellguest bloggerSean Kearney
Jun 29, 2016
0
0

PowerTip: List all available CIM classes by using PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use the Get-CimClass cmdlet to see all classes that you can query from. How can I find a list of Common Information Model (CIM) classes in Windows so that I can ask my computer useful questions? Just run the Get-CIMClass cmdlet to get a list of all available classes in the default namespace in Windows. If you’d like to filter on the ...

Windows PowerShellPowerTipguest blogger
Jun 29, 2016
0
0

Use Windows PowerShell as an administrative console

Doctor Scripto
Doctor Scripto

Summary: Honorary Scripting Guy, Sean Kearney, shares his early use of PowerShell as a network administrator. I have a simple but irritating task each day around lunch time. A handful of people usually lock themselves out of Active Directory. Can you help me find an easy way to deal with this? Honorary Scripting Guy, Sean Kearney, is here to ...

Windows PowerShellguest bloggerSean Kearney
Jun 28, 2016
0
0

PowerTip: List all subfolders under a target path with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Get-Childitem to provide a printable list of all folders under a path. I used to use tree.com to get a list of folders on a computer. Is there something close to that in PowerShell? Maybe something I could print? If you were to use Get-Childitem combined with Select-Object, you could get a pretty clean list. Here’s an example that...

Windows PowerShellPowerTipguest blogger