Showing results for March 2015 - Page 9 of 12 - Scripting Blog [archived]

Mar 10, 2015
0
0

PowerTip: Use PowerShell to Map a Drive

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to map a drive.  How can I use Windows PowerShell  to map a drive to a server from a client running Windows 8.1?  Use the New-SmbMapping cmdlet and specify the local path and the remote path, for example: New-SmbMapping -LocalPath h: -RemotePath \\dc1\Share

Scripting Guy!Windows PowerShellPowerTip
Mar 10, 2015
0
0

Use PowerShell to Zip Multiple Folders

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to create a .zip archive of multiple folders.  Hey, Scripting Guy! I need to compress multiple folders before I attempt to archive them. I would like to do this without having to install additional software. Can you help? —DR  Hello DR, Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am ...

Scripting Guy!Windows PowerShellstorage
Mar 9, 2015
0
0

PowerTip: Use PowerShell to Find ODBC Drivers

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find installed ODBC drivers.  How can  I use Windows PowerShell to check installed ODBC drivers so that I can investigate if a missing            driver might be the cause of a database application that appears to be failing?  Use the Get-OdbcDriver function f...

Scripting Guy!Windows PowerShellPowerTip
Mar 9, 2015
0
0

Use PowerShell to Create ZIP Archive of Folder

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a .zip archive of a folder.  Hey, Scripting Guy! I need a way to create a .zip archive of a folder. I would like to do this on my laptop running Windows 8.1, and I do not want to install any other software. Can I do this? —TR  Hello TR, ...

Scripting Guy!Windows PowerShellstorage
Mar 8, 2015
0
0

PowerTip: Find if Folder Exists

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to see if a folder exists.  How can I easily find if a folder exists for a Windows PowerShell script that I am writing?  Use the Test-Path cmdlet and the PathType parameter, for example: Test-Path c:\fso -PathType Container

Scripting Guy!Windows PowerShellPowerTip