Showing archive results for September 2013

Sep 8, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Run a Command on a Remote Server

Doctor Scripto

Summary: Learn how to use Windows PowerShell to run a command on a remote server.  How can I run a command on a remote server by using Windows PowerShell Remoting?  Use the Invoke-Command cmdlet, specify the computer name, and place the command in a script block: Invoke-Command -ComputerName server1 -ScriptBlock {hostname}

Scripting Guy!Windows PowerShellPowerTip
Sep 8, 2013
Post comments count0
Post likes count0

Remoting the Implicit Way

Doctor Scripto

Summary: Guest blogger, June Blender, talks about how to use Windows PowerShell implicit remoting. Today we welcome June Blender, senior programming writer for Windows Azure Active Directory. Take it away, June... Just about everyone knows how to run Windows PowerShell commands on a remote computer. You can use WMI or Windows PowerShell remoting, a...

Scripting Guy!Windows PowerShellscripting techniques
Sep 7, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Dependent Services

Doctor Scripto

Summary: Use Windows PowerShell to find services that depend on each other.  How can I use Windows PowerShell to easily find dependent services? Use the Get-Service cmdlet and specify the service name and the DependentServices parameter: Get-Service -Name server -DependentServices

Scripting Guy!Windows PowerShellPowerTip
Sep 7, 2013
Post comments count0
Post likes count0

Weekend Scripter: Remoting the Cloud with Windows Azure and PowerShell

Doctor Scripto

Summary: Microsoft senior technical evangelist, Keith Mayer, talks about remoting the cloud with Windows Azure and Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have guest blogger, Keith Mayer. Keith Mayer is a senior technical evangelist at Microsoft focused on Windows infrastructure, data center virtualization, systems...

Scripting Guy!Windows PowerShellguest blogger
Sep 6, 2013
Post comments count0
Post likes count0

PowerTip: Control Text-File Encoding with PowerShell

Doctor Scripto

Summary: Learn how to control text-file encoding with Windows PowerShell.  How can I ensure that a file is encoded with Unicode when I write to it?  Use the Out-File cmdlet, and specify the appropriate value for the –Encoding parameter: Get-Process | Out-File -FilePath c:\fso\myfile.txt -Encoding unicode

Scripting Guy!Windows PowerShellPowerTip