PowerShell 7 is the latest major update to PowerShell, a cross-platform automation and configuration tool for Windows, Linux, and macOS. In a post on the Microsoft PowerShell blog, Microsoft Project Manager Joey Aiello announced PowerShell 7, which is now generally ... Read more
Command Prompt basics: Working with files and folders Tired of using File Explorer to navigate your files? Alright, that may not be you, unless you're a developer or an IT professional. Developer or not, basic command line knowledge is always ... Read more
Yesterday, Microsoft released the open-source PowerShell 6.0, which works on Windows, as well as Linux and Mac machines. However, there may be some changes coming, as noted by a ZDNet report. While this is exciting news, it should be noted ... Read more
Office 365 Live webcasts, a series of live Office 365 demos dedicated to IT pros will come back in September with new sessions focusing on Powershell, Azure AD Connect, Exchange Online and more.
Users who rely on a Remote Desktop experience, might be happy to know that the Microsoft Azure team was fairly busy for the month of December with news and updates to its Azure RemoteApp. The experience of accessing corporate applications on any device ... Read more
IT Admins can be a fickle bunch, partly through no fault of their own. Often, they want to push companies forward with new tech and software, which admittedly, makes their lives easier, other times they are as fearful of change ... Read more
The new Microsoft, under CEO Sataya Nadella’s leadership, has become a more open company that works with developers in ways that were once unthinkable in Redmond, WA. The company has also been improving the ways it listens to its customers, such ... Read more
Microsoft PFE Ben Pearce shows how to use Windows PowerShell to perform offline servicing of Virtual Disks (VHD) and Windows Imaging Format (WIM) files.
This post discusses the ServiceImage.ps1 script that is located on the Scripting Guys Script Repository. This script injects patches to an offline .vhd or .wim file. It is a really useful script and also shows nicely how to wrap regular command line tools in Windows PowerShell. Hopefully this post will help you do the following tasks.
- Understand the high level flow of the script
- Use Deployment Image Servicing and Management (DISM) and DiskPart command lines
- Generate command lines at run time
- Run command lines within Windows PowerShell