Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Copy-Item : Cannot bind argument to parameter 'Path' because it is null.

    Im trying to understand a error that is being returned in powershell. Can somebody please help me understand where im going wrong with the following. #### Error ### Copy-Item : Cannot bind argument to parameter 'Path' because it is null. At line:1 char:111 + Get-ChildItem C:\users\noob\Desktop...
    Posted to General (Forum) by haxxess on 01-15-2010
    Filed under: copy-Item
  • How can I back up Outlook folder contents using powershell?

    I found a script using Technet and Google. $outlook = New-Object -comObject Outlook.Application $olJunk = $outlook.Session.GetDefaultFolder(23) $($olJunk.Items) | %{$_.Delete()} It turns out it does actually empty the junk mail folder. I guess each default folder is assigned a numerical value. What I'm...
    Posted to PowerShell for Windows (Forum) by jwhite on 04-12-2011
    Filed under: powershell, COM, copy-item, mail, file
  • if Copy-Item fail or secsuse export to log

    how to get this simpel script to run $remotePCName = Gc "C:\script\computers.txt" $remoteRoot = “\\$remotePCName\f” $Location = $remoteRoot Copy-Item "c:\vmware” $Location -recurse -force if Copy-Item fail <-------this is my problem Write-Output "$remotePCName"...
    Posted to PowerShell for Windows (Forum) by eizhak9 on 05-08-2011
    Filed under: powershell Windows-programming, copy-item
  • Install .net framework 4 on remote servers

    Hello, I am trying to get .net 4 framework installed on remote servers. I have the script pasted below and I keep running into 2 issues. 1. The file will not copy, the file share permissions are fine as I used a separate script that just copies the installer to the remote servers, but in this script...
    Posted to PowerShell for Windows (Forum) by virtuallynothere on 01-25-2012
    Filed under: powershell, remoting, copy-item, powershell remoting, file system, powershell pssession, powerrshell, pssession, remote server, PS-Remote, remote powershell, windowss 2008 r2
  • Re: Install Dotnet Framework 4 using powershell.

    Thanks, remoting is enabled and I will verify credssp is enabled as I am not positive about that. Why would credssp be required for this script if the client computer and destination server are in the same domain and the account used to login and also to run the remote powershell session are both domain...
    Posted to PowerShell for Windows (Forum) by virtuallynothere on 01-25-2012
    Filed under: permission, powershell, windows, remoting, copy-item, powershell remoting, Installing, power, file system, powershell pssession, powerrshell, redirecting console output and powershell monitoring, enter-pssession, pssession, remote server, powerershll, batch multiple command lines powershell windows, PS-Remote, command prompt, command, remote powershell, windowss 2008 r2
  • Re: copy only changed or new items

    Hi, There is cmdlet called Copy-Item to copy the files. I think copy-Item does not provide more flexibility which Xcopy is providing at this point of time, like copying changes or new items Regards, Krishna http://smtpport25.wordpress.com
    Posted to General (Forum) by Krishna on 11-24-2009
    Filed under: new data, copy-Item
  • Simple scripit

    Hello I have this in bash http://pastebin.com/m1eadea8e How can it be done in powershell ? TIA Daniel
    Posted to General (Forum) by varazir on 12-20-2009
    Filed under: backup, copy-Item
  • creating a log file during copy-item

    Hey Folks, can anybody tell me how to generate a logfile during an copy-item job? THX
    Posted to PowerShell for Windows (Forum) by Frank on 12-31-2010
    Filed under: copy-item
Page 1 of 1 (8 items)
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.