Showing archive results for 2013

Jan 5, 2013
Post comments count0
Post likes count0

PowerTip: Quickly Show Folders and Subfolders in PowerShell 3.0

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell 3.0 to quickly show folders and subfolders.  How can I use Windows PowerShell 3.0 to quickly show folders and subfolders?  Use the Get-ChildItem cmdlet with the –Directory and the –Recurse switch. Select only parent and name. This command is shown her...

Scripting Guy!Windows PowerShellPowerTip
Jan 5, 2013
Post comments count0
Post likes count0

Weekend Scripter: Sorting Folders by Size

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, uses Windows PowerShell 3.0 to sort folders by size. Microsoft Scripting Guy, Ed Wilson, is here. It is amazing how things continue to go in circles … I know I have written a script to sort folders by size many times in many different languages. I recently ran across a function written by Jef...

Scripting Guy!Windows PowerShellWeekend Scripter
Jan 4, 2013
Post comments count0
Post likes count0

PowerTip: Easily Find the Location of Current User Profile

Doctor Scripto
Doctor Scripto

Summary: Easily find the location of the Windows PowerShell current user current host profile.  How can I find the location of the current Windows PowerShell profile for your current host?  Use the $profile automatic variable, as shown here: 13:25 C:\> $profile C:\Users\ed.IAMMRED\Documents\WindowsPowerShell\Microsoft.PowerShell_p...

Scripting Guy!Windows PowerShellPowerTip
Jan 4, 2013
Post comments count0
Post likes count0

Understanding and Using PowerShell Profiles

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about understanding and using Windows PowerShell profiles. Microsoft Scripting Guy, Ed Wilson, is here. Today, I thought I would provide another excerpt from my new Microsoft Press book: Windows PowerShell 3.0 Step by Step, which is available for pre-order now. Today’s excerpt is from the cha...

Scripting Guy!Windows PowerShellscripting techniques
Jan 3, 2013
Post comments count0
Post likes count0

PowerTip: Find PowerShell Active Directory cmdlets

ScriptingGuy1
ScriptingGuy1

Summary: Find all of the Windows PowerShell Active Directory Domain Services cmdlets.  How can I find all of the Windows PowerShell Active Directory cmdlets?  On a domain controller, or a computer that has the Remote Server Admin tools (RSAT) installed, import the ActiveDirectory module (using Import-Module, where ipmo is the alias),...

Scripting Guy!Windows PowerShellPowerTip