-
Summary : Sean Kearney shows how to determine virtual machine start mode by using Windows PowerShell. How can I tell which virtual machines will start automatically? Use the Get-VM cmdlet, and check the AutomaticStartAction property: Get-VM | Format-Table...
-
Summary : Learn how to use Windows PowerShell to change the virtual machine network configuration in Windows Server 2012. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most frequent...
-
Summary : The Scripting Wife reveals her impressions of 2013 Scripting Games Beginner Event 4. When I first read this, I thought, “Dude, this is going to take an entire script.” But as I began to read the Help information for the Get-Random...
-
Summary : Scripting Games Advanced Event 4: Dr. Scripto needs audit 20 random users from Active Directory. Microsoft Scripting Guy, Ed Wilson, is here. Once again it is time to reveal an event for the 2013 Scripting Games that are being hosted and run...
-
Summary : Find required assemblies for your Windows PowerShell modules. How can I use Windows PowerShell to show required assemblies for my Windows PowerShell modules? Use the ExpandProperty parameter of Select-Object and choose the RequiredAssemblies...
-
Summary : Microsoft Scripting Guy, Ed Wilson, talks about how to use a Windows PowerShell module. Hey, Scripting Guy! I found this module in the Scripting Guys Script Repository. Now what do I do? —SH Hello SH, Microsoft Scripting Guy, Ed Wilson...
-
Summary : Use Windows PowerShell to show screensaver info for a user who is logged on. How can I easily use Windows PowerShell to show screensaver information for the currently logged-on interactive user? Use WMI to query the Win32_Desktop class, and...
-
Summary : Microsoft Scripting Guy, Ed Wilson, talks about combining functions into a single function file, and using them in scripts. Microsoft Scripting Guy, Ed Wilson, is here. This morning is sort of mellow. It seems as if the clouds are touching the...
-
Summary : Use the Set-Variable cmdlet to create a ReadOnly Windows PowerShell variable. How can I create a ReadOnly variable in Windows PowerShell? Use the Set-Variable cmdlet to create a ReadOnly variable, and specify ReadOnly for the Option parameter...
-
Summary : Microsoft Scripting Guy, Ed Wilson, continues his discussion about what to do with a Windows PowerShell function. Microsoft Scripting Guy, Ed Wilson, is here. Last week I did not get a chance to finish answering a question from JB about how...
-
Summary : Use Windows PowerShell to list top-level WMI namespaces. How can I use Windows PowerShell to list the top-level WMI namespaces? Use the Get-WmiObject cmdlet or the Get-CImInstance cmdlet and query for __NameSpace : Windows PowerShell 2.0 syntax...
-
Summary : Microsoft senior technical writer, Yuri Diogenes, and knowledge engineer, Tom Shinder, talk about using Windows PowerShell to protect a Windows Server 2012-based cloud infrastructure. Microsoft Scripting Guy, Ed Wilson, is here. Guest bloggers...
-
Summary : Use Windows PowerShell to identify directories that changed since a specific date. How can I use Windows PowerShell to find directories that have changed since a specific date? Use the Get-ChildItem cmdlet and specify only directories. Pipe...
-
Summary : Microsoft Scripting Guy, Ed Wilson, spends some time playing around with the Get-Variable cmdlet. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am doing something a little different. Instead of drinking English Breakfast tea, I...
-
Summary : Sean Kearney explains how to use Windows PowerShell to find running virtual machines. How can I find a list of virtual machines on my computer that is running Windows Server 2012 with Hyper-V? Use the Get-VM cmdlet and filter on the State property...