![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Help - Credentials Hi All, Need some help. I need to copy some files from one subnet to another. I can pull stuff from workstations on the other subnet using the -credentials option with a wmiobject like: $c = get-credential (get-wmiobject win32_bios -computername 172.16.98.184 -credential $c).__server I need to copy files to workstations on this other subnet and the -credentail doesnt seem to work via powershell cmdlets, non wmi, to a UNC path (example: \\172.16.98.184\test) How can i use wmi to copy these files or if you guys have a much better please share. Your help is appreciated and looking forward to your replies. Ripp |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Help - Credentials I get RPC errors when using WMI and if using copy-item with -credential option i get the error the use of credentials not supported with the UNC path "Ripp" wrote: Quote: > Hi All, > > Need some help. I need to copy some files from one subnet to another. I > can pull stuff from workstations on the other subnet using the -credentials > option with a wmiobject like: > > $c = get-credential > (get-wmiobject win32_bios -computername 172.16.98.184 -credential $c).__server > > I need to copy files to workstations on this other subnet and the > -credentail doesnt seem to work via powershell cmdlets, non wmi, to a UNC > path (example: \\172.16.98.184\test) > > How can i use wmi to copy these files or if you guys have a much better > please share. Your help is appreciated and looking forward to your replies. > > Ripp |
My System Specs![]() |
| | #3 (permalink) |
| | RE: Help - Credentials I know running on the same subnet i have no problems, and i dont have the option at this time to run the script on a machine on the same subnet so i need another solution. "Ripp" wrote: Quote: > Hi All, > > Need some help. I need to copy some files from one subnet to another. I > can pull stuff from workstations on the other subnet using the -credentials > option with a wmiobject like: > > $c = get-credential > (get-wmiobject win32_bios -computername 172.16.98.184 -credential $c).__server > > I need to copy files to workstations on this other subnet and the > -credentail doesnt seem to work via powershell cmdlets, non wmi, to a UNC > path (example: \\172.16.98.184\test) > > How can i use wmi to copy these files or if you guys have a much better > please share. Your help is appreciated and looking forward to your replies. > > Ripp |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to pass credentials? | PowerShell | |||
| How do I make UAC ask for credentials? | General Discussion | |||
| Credentials in scripts | PowerShell | |||
| Logon Credentials | Vista account administration | |||
| Workgroup credentials | Vista networking & sharing | |||