These Commands can be run to obtain the Hardware Hash and store in a CSV locally or upload directly to the Intune Tenant. This bypasses any Execution Policy and other prompts. The Execution Policy is automatically set to run the script only. Works great on OOBE Shift+F10, Now supports GroupTags…
Tag: powershell
Version History v1.0 – 23rd May 2020 Tested On Windows 10 Pro x64 1909 This Script can be downloaded in the Intune GitHub Repo: https://1iq.uk/g Description This batch file automatically runs the Get-WindowsAutoPilotInfo.ps1 script and appends the Hardware Hash ID into the csv file. Run from any folder on Windows…
It’s been a while since i worked with PowerShell on Linux Mint. My install of PowerShell was corrupt and VS Code was out of date. I decided to uninstall them both and reinstall from scratch. sudo apt-get remove powershell sudo apt-get remove code To install PS Core 6.1 Add the…
Installing A DC on Server Core uses less resources: Create new VM named DC01 Go through the install Set 30GB disk size Choose Non Gui install once installed type sconfig enable rdp configure name DC01, restart connect to host using rdp type powershell get-windowsfeature Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools The below…
Reset RAID: remove logical drives and recreate. 1 x 500GB, 1x 1.3 TB DL Install Hyper-V 2016 server using iLO on a 3ogb partition Run all updates on hyper-v server Create other partitions during disk setup such as 800gb VM Storage and 1TB Disk Storage Install: Win 10 1803 Enterprise…
Create a self signed certificate on Win10 and PS5.1 The cmdlet generates an ssl cert for testing purposes. Unlike makecert this cannot be used to sign a driver or an application code. Get-Command -Module PKI New-SelfSignedCertificate -DnsName test.vmlab.local -CertStoreLocation cert:\LocalMachine\My -Type CodeSigningCert View the Cert: cd cert: dir cd localmachine…
Course 2 – Advanced Tools and Scripting Instead of real time we will do scripting Make tools to use and share DL scripts from here: https://powershell.org/2013/07/29/mva-powershell-jumpstart-2-scripts-for-aug-1st/ Steps to create tools with modules inside scripts and clean them up Automate things you need to do again In Win Server 2012 R2…
Microsoft Virtual Academy, MVA 23/06/2017 Getting started with Powershell 3.0 Jump Start Useful Links: https://Powershell.org https://Powershell.org/wp/ebooks/ http://blogs.msdn.microsoft.com/powershell/ https://ss64.com/ps/ Module 1 – Don’t fear the shell set powershell normal as taskbar icon, can right click and start as admin or start ise right click icon in taskbar > properties > shortcut…
In Hyper-V Virtual Switch Manager i had unticked “Allow management operating system to share this network adapter” and also enabled VLAN identification. After applying this i lost all network connectivity to the host Hyper-V Server. I had to access it through the console and run PS cmdlet: Get-VMSwitch Remove-VMSwitch “Name…
Install .Net 4.7.1 install wmf 5 for new powershell check version with $psversiontable, .net 4.5+ prereq for wmf5 inst wmf with this cmd as admin Win8.1AndW2K12R2-KB3134758-x64.msu /quiet SCCM Prereqs: remote differential compression Install Win Server 2012R2 Standard (GUI), HD60GB, RAM 4GB, 1CPU (All SW is EVAL unless specified) Notes I…