Showing archive results for July 2013

Jul 21, 2013
Post comments count0
Post likes count0

PowerTip: Discover PowerShell Cmdlets that Accept Array of Strings

Doctor Scripto

Summary: Learn how to find Windows PowerShell cmdlets that accept an array of strings for parameter input.  How can I find all the Windows PowerShell cmdlets that accept an array of strings for parameter input?  Import all modules, then use the Get-Command cmdlet and the ParameterName parameter to look for [string[]]&n...

Scripting Guy!Windows PowerShellPowerTip
Jul 21, 2013
Post comments count0
Post likes count0

Weekend Scripter: Create Proxy Addresses in Active Directory with PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to automatically create proxy addresses in Active Directory Domain Services by using Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. So I have been talking back and forth with one of the members of the Charlotte Windows PowerShell Users group since my presentation to the group ...

Scripting Guy!Windows PowerShellWeekend Scripter
Jul 20, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Status of DirectAccess Connection

Doctor Scripto

Summary: Use Windows PowerShell in Windows 8 to find the status of DirectAccess connection.  How can I find the status of a DirectAccess connection in Windows 8 by using Windows PowerShell 3.0?  Use the Get-DAConnectionStatus cmdlet to report a Status and a Substatus property that are useful for tro...

Scripting Guy!Windows PowerShellPowerTip
Jul 20, 2013
Post comments count0
Post likes count0

Weekend Scripter: Introducing the PowerShell and WMI Browser

Doctor Scripto

  Summary: Guest blogger, Jakob Gottlieb Svendsen, talks about the Windows PowerShell and WMI browser. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog post by Jakob Gottlieb Svendsen. But first, a little bit about Jakob… Jakob is a senior consultant, trainer, and chief developer at Coretech A/S, where he is one ...

Scripting Guy!Windows PowerShellscripting techniques
Jul 19, 2013
Post comments count0
Post likes count0

PowerTip: Get the Number of Items in a Hash Table

Doctor Scripto

Summary: Learn how to get the number of items in a Windows PowerShell hash table.  How can I find the number of key/value pairs that a Windows PowerShell hash table contains?  Use the Count property: PS C:\> $hash = @{'a' = 1; 'b' = 2; 'c' = 3; 'd' = 4} PS C:\> $hash   Name       &nb...

Scripting Guy!Windows PowerShellPowerTip