

Use Copy-Item to copy your install bits to the USB drive and you’re done. Format-Volume –FileSystem NTFS –DriveLetter G.New-Partition –DiskNumber 1 –UseMaximumSize –IsActive:$true.Get-Disk-this is needed to get the disk number of the USB.Then, you are finally ready to install your operating system.
#MAKE A BOOTABLE DRIVE FOR MAC FORMAT ISO#

Here are the commands to accomplish this the old way: Windows 8 has the ability to mount an ISO or VHD by simply double-clicking the file. Now, a bootable USB is easily created without needing DiskPart.exe or a non-Microsoft tool to mount the ISO file.

In the past, to create a bootable USB drive to install an operating system, you could download the Windows 7 USB tool, or you had to mount the ISO file with a non-Microsoft tool, copy the install bits, and then run a series of DiskPart commands. The storage cmdlets are an example of this. With the release of Windows 8 and Windows Server 2012, there are thousands of additional new cmdlets at an IT Pro’s disposal-making our lives so much easier. Jason also actively participates in the Charlotte PowerShell Users Group. It doesn’t matter if it’s Exchange-related or not. His primary job is supporting Exchange, but he jumps at the opportunity to flex his Windows PowerShell muscles to resolve any issue that may come up. Jason Walker is a Premier Field Engineer (PFE) at Microsoft who supports customers in the public sector arena. Be sure to come to the Microsoft Alpharetta Office tomorrow to see Jason and several other Windows PowerShell speakers share their knowledge with you during Windows PowerShell Saturday. Sadly, I woke up with no voice and a stuffy head amd am staying home.Jason Walker, a speaker at the event, is our guest blogger and shares with us a script and his blog about that script. Today, The Scripting Wife and others will be heading to Atlanta for the PowerShell Saturday #003 event that takes place tomorrow. Microsoft Scripting Guy, Ed Wilson, is here. Summary: Microsoft PFE Jason Walker talks about creating a Windows PowerShell script to create a bootable USB drive.
