![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | Login to fileshare Is there a way to log on to a fileshare from powershell? I need to push files to a fileshare in our extranet which I need to log on. I'd like to script this out, meaning, I's need a way to login to the fileshare for the script. Thanks a million in advance? BJHop -- BJHop |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Login to fileshare I have a Powershell Search Engine. I ran your request and got several really good examples. Search is Here: http://bsonposh.com/modules/wordpress/?page_id=13 Here are the results http://www.google.com/custom?cx=0105...nt=google-coop This is probably the most directed at your Question: http://www.leeholmes.com/blog/PowerS...redential.aspx Most of the examples use Get-Credentials CMDLets with a call to ..GetNetworkCredentials(). Further info is Here: http://msdn2.microsoft.com/en-us/lib...redential.aspx and http://msdn2.microsoft.com/en-us/lib...redential.aspx -- Brandon Shell --------------- Stop by my blog some time ![]() Blog: http://www.bsonposh.com/ PSH Scripts Project: www.codeplex.com/psobject -------------------------------------- "BJHop" <BJHop@discussions.microsoft.com> wrote in message news:39DB07FC-AB5B-437F-9F29-ABD321CC8F4C@microsoft.com... > Is there a way to log on to a fileshare from powershell? > > I need to push files to a fileshare in our extranet which I need to log > on. > I'd like to script this out, meaning, I's need a way to login to the > fileshare for the script. > > Thanks a million in advance? > > BJHop > > > -- > BJHop |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Login to fileshare Brandon Great stuff, but I still don't see how I can use Get-Credentials within a script I need have nightly script run, log on the fileshare (ExtraNet) and push some files. With Get-Credentials I don't see a way to do that. I guess I am going to have to dig a bit deeper on the .net side of things. Once again, thanks a million for the great info you gave me. BJHop "Brandon Shell" wrote: > I have a Powershell Search Engine. I ran your request and got several really > good examples. > Search is Here: http://bsonposh.com/modules/wordpress/?page_id=13 > > Here are the results > http://www.google.com/custom?cx=0105...nt=google-coop > > This is probably the most directed at your Question: > http://www.leeholmes.com/blog/PowerS...redential.aspx > > Most of the examples use Get-Credentials CMDLets with a call to > ..GetNetworkCredentials(). > Further info is Here: > http://msdn2.microsoft.com/en-us/lib...redential.aspx > and > http://msdn2.microsoft.com/en-us/lib...redential.aspx > > -- > Brandon Shell > --------------- > Stop by my blog some time ![]() > Blog: http://www.bsonposh.com/ > PSH Scripts Project: www.codeplex.com/psobject > -------------------------------------- > > "BJHop" <BJHop@discussions.microsoft.com> wrote in message > news:39DB07FC-AB5B-437F-9F29-ABD321CC8F4C@microsoft.com... > > Is there a way to log on to a fileshare from powershell? > > > > I need to push files to a fileshare in our extranet which I need to log > > on. > > I'd like to script this out, meaning, I's need a way to login to the > > fileshare for the script. > > > > Thanks a million in advance? > > > > BJHop > > > > > > -- > > BJHop > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Select-String FileShare.ReadWrite | PowerShell | |||
| I can acess the net + Fileshare but can not PING computer IPS? | Network & Sharing | |||
| XP/VISTA can see both, can not fileshare | Vista networking & sharing | |||
| Fileshare pw and username | Vista account administration | |||
| Backup and Fileshare - anytime, anywhere | Network & Sharing | |||