How to run a batch file in powershell

broken image

I also found out that the server is running Windows PowerShell 2.0. If I want to look at the files in a GUI, I can type the path into Internet Explorer, and view the files in the File Explorer as shown in the following image.įor a background, I happen to know that the remote server is running 32-bit Windows Server 2008. I can then use the Get-ChildItem command ( dir is an alias) to view the files in the shared folder. I can open Windows PowerShell and use the Net View command to see all of the shares. So I have this shared folder on one of my servers.

broken image

Note For good background info about running Windows PowerShell scripts from a remote file share, check out the guest blog post written by June Blender and Judith Herman: How to Run PowerShell Scripts from a Shared Directory. Bookmark the PowerShellSaturday website, so you can keep up to date on all the events. Of course, don’t just take my word for it. The Charlotte event is still early in the planning stages (I will be speaking there also). Atlanta and Singapore are already planning (I know, because I will be speaking at both events).

broken image

They are listed on the PowerShell Saturday website. There are at least three Windows PowerShell Saturday events coming up. Microsoft Scripting Guy, Ed Wilson, is here. Summary : Microsoft Scripting Guy, Ed Wilson, talks about running Windows PowerShell scripts from a remote file share.