-
When you go to Software (Add or Remove Programs), you need to check "Show updates" (or adequate option in German) to see an entry for PowerShell 1.0. PowerShell 1.0 is installed as a hotfix (KB926139 (English installation package) / KB926140 (Localized installation package). I'm not sure...
-
Hello all, I hope somebody will give me a help with this. I need to make a Powershell script that receives 2 XML files (source and destination) as parameter and based on what is on one file, it updates the second one. I don’t know what can be on the “source” XML, so the script needs...
-
I'm writing a cluster resource script that is checking the cluster resources, which node they are on and node online/offline status Right now I'm stuck in the output part, in the pipe I have the following data: clusterresource1 node1 online clusterresource2 node2 online clusterresource3 node3...
Posted to
General
(Forum)
by
Ironbone
on
05-20-2010
Filed under: PowerShell, Output, powershell 1.0, powershell 2.0
-
Hi, When I try to map a drive locally on "Client1", it works fine with this command: New-PSDrive U -PSProvider FileSystem -root \\Server1\C$ but when I try it remotely, it fails ($cred is a previously created credential): Invoke-Command -ComputerName "Client1" -Credential $cred -ScriptBlock...
Posted to
PowerShell v2
(Forum)
by
kevsor1
on
07-15-2010
Filed under: PowerShell v2, PowerShell, Remoting, PowerShell 1.0, New-Object, Enable-PSRemoting, Enter-PSSession, Remote Commands, Get-WSManCredSSP, PowerShell 2.0, Enable-WSManCredSSP, New-PSDrive
-
$shell = New-Object -ComObject Wscript.Shell Set-ExecutionPolicy Unrestricted | echo $shell.sendkeys("Y`r`n") That's just an exemple on how this method can be used. I think it can be very useful in some situations.
Posted to
General
(Forum)
by
Felipe
on
10-15-2010
Filed under: PowerShell, Functions, Execution Policy, power shell, Set-ExecutionPolicy, powershell 1.0, powershell 2.0
-
Hi, I 'm looking for a script that'll take all servers from AD and finding their current uptime and how many times they've been rebooted in the past year and output to a xls file. Has anyone written similar? Cheers, Ron
-
This article discusses the differences between features in PowerShell 1.0 and PowerShell 2.0. Read More