Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Re: Get New CMDLETS

    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...
    Posted to Help with PowerShell.com (Forum) by Sylvain LESIRE on 11-05-2009
    Filed under: powershell 2.0
  • Re: Update to Powershell V2 fails (KB 968930)

    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...
    Posted to General (Forum) by Aleksandar on 12-02-2009
    Filed under: remove, installation, powershell 1.0, powershell 2.0
  • Using Powershell to Edit SVN Properties

    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...
    Posted to PowerShell v2 (Forum) by sssaml3 on 05-12-2010
    Filed under: Subversion, PowerShell 2.0
  • Need some help with output formatting

    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
  • How write two Input in a pop-up GUI

    With the following code I have one variable definde as $x for the ok. I would like to add User_name for the variable $u, this would be the second. Not sure what part can be duplicated and how to insert the variable for the OK button click. So both texted entered would be passed on to the next part of...
    Posted to General (Forum) by Redmars on 06-17-2010
    Filed under: User name, Add Custom Properties, powershell 2.0, GUI
  • New-PSDrive fails remotely

    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
  • PowerShell remoting and exit codes

    I have to call a PowerShell script from outside PowerShell (using a batch file). How do I read the exit code returned by the script after accessing a remote system? C:\gdp>powershell Get-Content ./test15.ps1 param($name) Get-Process -Name $name exit 82 ----- Example 1 (local): C:\gdp>powershell...
    Posted to General (Forum) by rockstar on 09-16-2010
    Filed under: Scripting, Remote host, remote, Command Line Script Execution, powershell 2.0
  • Re: produce log file in powershell

    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...
    Posted to General (Forum) by Bjorn Elwhagen on 10-06-2010
    Filed under: powershell 2.0, error, catch, try
  • Windows 7 without Powershell 2.0

    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...
    Posted to Windows 7 (Forum) by Prabin Varma on 11-05-2010
    Filed under: Windows 7, PowerShell, installer, Powershell 2.0
  • How to add source IP address in this test-connection script ?

    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.
    Posted to General (Forum) by Albert Widjaja on 11-16-2010
    Filed under: Ping, powershell 2.0
Page 1 of 2 (15 items) 1 2 Next >
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.