Browse by Tags

Tagged Content List
  • Blog Post: PowerShell Spotlight: Scripting Guys at Ignite

    Summary : Microsoft PowerShell MVP, Teresa Wilson, talks about plans for the Scripting Guys booth at Ignite in Chicago. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Windows PowerShell MVP, Teresa Wilson (aka The Scripting Wife) with another edition of PowerShell Spotlight... It is...
  • Blog Post: Use PowerShell to Remove Optional Features from Windows VHD

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to remove optional features from Windows virtual hard disks. Hey, Scripting Guy! I have a number of virtual machines that have optional features that they do not need, such as Windows Media Player. In fact, the virtual...
  • Blog Post: PowerTip: Use PowerShell to Find Installed Optional Features

    Summary : Learn how to use Windows PowerShell to find installed optional features in Windows. How can I use Windows PowerShell to see what optional features are installed in a copy of Windows? Use the Get-WindowsOptionalFeature cmdlet, and if you are looking at a version of Windows that is running...
  • Blog Post: Use PowerShell to Add Files to Offline Windows Image

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to add files to an offline Windows image. Hey, Scripting Guy! I have a number of VHDs that I need to add files to. I know that I can use File Manager to mount the VHD and then copy the files, but I am hoping that I...
  • Blog Post: PowerTip: Find DISM-Related PowerShell Cmdlets

    Summary : Learn how to find all Windows PowerShell cmdlets that work with DISM. How can I find all Windows PowerShell cmdlets that work with Deployment Image Servicing and Management (DISM)? Use the Get-Command cmdlet and specify the DISM module: Get-Command -Module dism
  • Blog Post: Use PowerShell to Explore Old Windows VHDs

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore old Windows VHDs. Hey, Scripting Guy! It is time for spring clean-up around our datacenter. I am not talking about chasing out dust bunnies, although that is part of it. What I am talking about is trying...
  • Blog Post: PowerTip: Use PowerShell to Find Virtual Hard Disks

    Summary : Use Windows PowerShell to find virtual hard disks on your system. I notice that my disk space appears to be disappearing at a rapid rate, and I suspect someone is creating virtual hard disks (VHDs) and forgetting about them. How can I use Windows PowerShell to find all the VHDs on my system...
  • Blog Post: Use PowerShell to Disable Wi-Fi

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to disable Wi-Fi if Ethernet is connected. Hey, Scripting Guy! When I have an Ethernet cable plugged in to my laptop and I am connected to a network, I want to ensure that everything else is disabled. How can I do that...
  • Blog Post: PowerTip: Use PowerShell to See Who Can Access Folder

    Summary : Use Windows PowerShell to see who has access to a folder. How can I use Windows PowerShell to see who has access rights to a folder? Use the Get-Acl cmdlet, specify the folder, and look at the access property, for example: (Get-Acl c:\fso).Access
  • Blog Post: Use PowerShell to Enable Wi-Fi

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to enable Wi-Fi if Ethernet is not connected. Hey, Scripting Guy! Most of the time when I use my laptop running Windows 8.1, I am plugged in to the Ethernet network at work. Occasionally, I unplug the laptop and take...
  • Blog Post: PowerTip: Use PowerShell to Disable All Network Adapters

    Summary : Use Windows PowerShell to disable all network adapters on your system. I often work in offline situations, and I would like to disable all network adapters on my laptop for security reasons and to help to extend battery life. How can I use Windows PowerShell to do this easily? Use the...
  • Blog Post: Weekend Scripter: Use PowerShell to Find Longest Cmdlet Name

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find the longest cmdlet name. Microsoft Scripting Guy, Ed Wilson, is here. This is an exciting time of the year, as we get ready for the PowerShell Summit in Charlotte and for the Microsoft Ignite conference in Chicago...
  • Blog Post: PowerTip: Use PowerShell to Verify Hotfix

    Summary : Use Windows PowerShell to verify if a hotfix is installed. How can I use Windows PowerShell to verify that my workstation running Windows 8.1 has the November DSC rollup installed? Use the Get-Hotfix cmdlet and search for ID KB3000850: Get-HotFix -Id kb3000850
  • Blog Post: PSImaging Part 3: Group-ImageFile

    Summary : Guest blogger, Ben Vierck, talks about grouping similar images with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Ben Vierck back for Part 3 in his series about images. Before you begin, you might like to read: PSImaging Part 1: Test-Image PSImaging...
  • Blog Post: PowerTip: Use PowerShell to Count Types of Images

    Summary : Use Windows PowerShell to count different types of image files. How can I use Windows PowerShell to see a count of the different types of image files on my computer? Use the Get-ChildItem cmdlet to find the image files and then pipe the results to the Group-Object cmdlet, for example...
  • Blog Post: PSImaging Part 2: Export-Text from Images

    Summary : Guest blogger, Ben Vierck, talks about using Windows PowerShell to export text from an image. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger Ben Vierck, for Part 2 of PSImaging. Read Part 1 before diving into today’s post: PSImaging Part 1: Test-Image . ...
  • Blog Post: PowerTip: Use PowerShell to Count Images

    Summary : Learn how to use Windows PowerShell to count images. How can I use Windows PowerShell to count images on a drive? Use the Get-ChildItem cmdlet, specify the path, and send the results to the Measure-Object cmdlet, for example: dir -Recurse -ea 0 -File -path e:\data -include "*...
  • Blog Post: PSImaging Part 1: Test-Image

    Summary : Guest blogger, Ben Vierck, talks about using Windows PowerShell to determine if a file is an image. Microsoft Scripting Guy, Ed Wilson, is here. I am happy to introduce a new guest blogger here at the Hey, Scripting Guy! Blog: Ben Vierck. Ben has been around for a while, using and supporting...
  • Blog Post: PowerTip: Read .exe Magic Number with PowerShell

    Summary : Learn how to use Windows PowerShell to see an .exe magic number. How can I use Windows PowerShell to see the "magic number" associated with an executable file in Windows? The term magic number refers to the bytes that occur at the beginning of every file and identify the format...
  • Blog Post: Update Offline Virtual Machine with PowerShell and WSUS Offline Update: Part 2

    Summary : Microsoft PowerShell MVP, Sean Kearney, talks about updating an offline virtual machine with Windows PowerShell and WSUS Offline Update. Honorary Scripting Guy, Sean Kearney, here. Yesterday, I introduced you to a tool you can use to updating offline virtual machines: Update Offline Virtual...
  • Blog Post: PowerTip: Shut Down Virtual Machine with PowerShell

    Summary : Learn how to shut down a virtual machine by using Windows PowerShell. How can I use Windows PowerShell to perform an orderly shutdown of a virtual machine? When the Stop-VM cmdlet is used with no parameters, it conducts an orderly shutdown. Here is an example: Stop-VM –name C1
  • Blog Post: Update Offline Virtual Machine with PowerShell and WSUS Offline Update: Part 1

    Summary : Honorary Scripting Guy, Sean Kearney introduces a cool tool for updating virtual machines. Hey, Scripting Guy! I have some virtual machines that are normally offline. They need to be updated on a regular basis, but these machines have no access to the Windows Server Update Services (WSUS...
  • Blog Post: PowerTip: Use PowerShell to Mount ISO

    Summary : Easily mount ISO files by using Windows PowerShell. How can I use Windows PowerShell to mount ISO files in Windows 8? Use the Mount-Disk cmdlet and specify the exact path of the ISO file, for example: Mount-DiskImage C:\Media\Filename.ISO
  • Blog Post: Updating Virtual Machines

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about the problem of updating virtual machines. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am sipping a nice cup of red berry tea. I also have a bowl of grapes and a bit of brie. The berry tea, grapes, and brie are a nice combination...
  • Blog Post: PowerTip: Use PowerShell to Find Network Adapters

    Summary : Use Windows PowerShell to find network adapters associated with running virtual machines. How can I use Windows PowerShell to see the network adapters that are associated with all running virtual machines on my Windows 8.1 laptop that runs Hyper-V? Use the Get-VM cmdlet to look for running...