Showing archive results for March 2015

Mar 13, 2015
Post comments count0
Post likes count0

Optimize PowerShell Code?

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about optimizing Windows PowerShell code. Microsoft Scripting Guy, Ed Wilson, is here. I was looking at my Windows Phone this morning and I noticed that today is Friday the 13th. What seemed a bit strange to me is that I thought there was also a Friday the 13th last month. I then became curious. Ex...

Scripting Guy!Windows PowerShellscripting techniques
Mar 12, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Check for Snapshots

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to check for virtual machine snapshots.  How can I use Windows PowerShell to see if a particular virtual machine has snapshots?  Use the Get-VMSnapshot cmdlet, for example: Get-VMSnapshot dc1_nwt Note  This cmdlet requires running an account that has admin rights.

Scripting Guy!Windows PowerShellPowerTip
Mar 12, 2015
Post comments count0
Post likes count0

Use PowerShell to Create Archive and Send Email

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to create a .zip archive and email it.  Hey, Scripting Guy! I have a number of files that I would like to archive on a regular basis to a .zip file. I need to email that .zip file as an attachment. I do this every week, and it takes me like nearly 15 minutes to cr...

Scripting Guy!Windows PowerShellscripting techniques
Mar 11, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Copy Source to Multiple Destinations

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to copy a source directory to multiple destinations.  How can I use Windows PowerShell to make multiple backup copies of a source directory without wasting a            lot of time mousing around?  Copying a single source directory to multiple destinations can be a single line ...

Scripting Guy!Windows PowerShellPowerTip
Mar 11, 2015
Post comments count0
Post likes count0

Use PowerShell to Extract Zipped Files

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to extract zipped files.  Hey, Scripting Guy! I need to be able to work with zipped files from time-to-time. Often I store files in a zip archive so they are portable. I know how to copy the .zip archive from one place to another with Windows PowerShell, but I cannot ...

Scripting Guy!Windows PowerShellstorage