-
Hello, I don't know if there are some differencies CTP3 and the last version. follow this link to get the last version of powershell V2 and winRM for XP http://support.microsoft.com/kb/968929 You need yo uninstall powershell on your workstation and install the Windows Management Framework 2.0. test...
-
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...
-
Hi there. I want to write a script that scans an SVN working copy file by file and pops out those files that have a certain SVN property set, such as svn:mime-type = application/octet-stream. I then want to do SVN-related things to these marked files, such as adding, removing or editing the SVN properties...
-
I'd use Try-Catch like this: Try { copy-item Server1\folder1 -destination server2\folder1 -verbose -PassThru } Catch { Write "Error: copy-item: $_" >>logfile.log} If copy-item fails, it will write "Error: copy-item: <errormessage from copy-item>" to the logfile. If...
-
Hi everyone, Can anyone help me to modify this script to show the source IP address ? because at the moment it is only showing the target IP address and hostname. Test-Connection server1,server2, mail -Source prodclient01,prodclient02 -Count 1 | sort Destination | ft -AutoSize Thanks.
-
I have a routine in powershell that queries the index usage stats. The query runs for each database on the server and pumps out an xml snippet. I'm trying to get all of the results in one xml file. All of the code works except for the piece that appends nodes to an existing xml file. I've tried...
-
Hey there - does anyone else do anything with a profile so that it will follow you to all the systems you login to? I'm familiar with setting up a roaming profile in AD, but how can I do a profile for powershell that will have all the items I use on my laptop, so my colors, modules, etc and then...
Posted to
General
(Forum)
by
virtuallynothere
on
03-28-2012
Filed under: PowerShell, PowerShell Plus, Command Line, PoshBoard, Connection History, PowerBoots, powershell 2.0, Powershell GUI
-
We have an extremely locked down environment for kiosk machines. We have restricted their thumb drive access to help with HIPPA requirements. Sometimes the need arises to access an item on a network share. I didn't want to map the drive, but instead give them access during the time they needed it...
-
I am using the start-job cmdlet in a function in order to run some additional code using alternate credentials. This technique was recommended by the book "Automating Microsoft SharePoint 2010 Administration with Windwos Powershell 2.0; page 543 and associated discussion. This work is being performed...
Posted to
General
(Forum)
by
EDSlayer
on
06-27-2012
Filed under: Cmdlet, Functions, Window 7, powershell 2.0, script, error, Start-Job Background
-
Hi, I have a Windows 7 64-bit Professional N laptop, on which Powershell 1.0 is installed (The Powershell install path on my system is "C:\Windows\System32\WindowsPowerShell\v1.0", and so I'm assuming it is Version 1.0). I had always heard that Windows 7 comes with Powershell 2.0 already...