Showing archive results for October 2013

Oct 13, 2013
Post comments count0
Post likes count0

The Admin’s First Steps: Discovering Shares

Doctor Scripto

Summary: Richard Siddaway talks about using Windows PowerShell to discover shares on remote systems.  Hey, Scripting Guy! I’ve just starting using Windows PowerShell to administer my systems, and I’ve been asked to discover the shares on some remote servers. How can I do that? —OL  Hello OL, Honorary Scripting Guy, Richa...

Windows PowerShellscripting techniquesguest blogger
Oct 12, 2013
Post comments count0
Post likes count0

PowerTip: Run Remote Command in Disconnected Session

Doctor Scripto

Summary: Use Windows PowerShell to run a remote command in a disconnected session.  How can I run a remote command in a disconnected session?  Invoke-Command -ComputerName S1 -Scriptblock {<commands>} -InDisconnectedSession 

Scripting Guy!Windows PowerShellPowerTip
Oct 12, 2013
Post comments count0
Post likes count0

Disconnected Sessions: Phenotype and Genotype (Part 2)

Doctor Scripto

Summary: Learn about a revolutionary feature in Windows PowerShell 3.0 that lets you disconnect from and reconnect to PSSessions. Today we continue our exciting guest blog series that is written by Paul Higinbotham, a software design engineer for Windows PowerShell and June Blender, a senior programming writer for Windows Azure Active Director...

Scripting Guy!Windows PowerShellscripting techniques
Oct 11, 2013
Post comments count0
Post likes count0

PowerTip: Add Key-Value Pair to Ordered Dictionary

Doctor Scripto

Summary: Add a key-value pair to the first position in an ordered dictionary. How can I use Windows PowerShell to add a key-value pair to the first position in an ordered dictionary?Use the Insert method, which takes an index (starting with zero), a key, and a value.           To add color = blue to the ordered diction...

Windows PowerShellscripting techniquesPowerTip
Oct 11, 2013
Post comments count0
Post likes count0

ConvertTo-OrderedDictionary

Doctor Scripto

Summary: Learn about creating ordered dictionaries in Windows PowerShell 3.0. Hash tables are fabulous for storing data items that are associated with each other. The simple "key=value" format is easy to create and easy to search. The only problem is that the order of elements in the hash table is arbitrary. If you need to have the items ...

Scripting Guy!Windows PowerShellscripting techniques