Challenge : Import reg key settings to a remote compute Requires WinRM to be running Execute as Administrator **This script worked when tested on a Window 2021 server to a…
Azure – Create Kubernetes Cluster with ACR Integration
How to create a Kubernetes Cluster with ACR Integration and Service Principal Authentication. Create Kubernetes Cluster, Select the Kubernetes Services Blade> Cloud Shell You will be prompted for storage if…
EXO V2 Module – Microsoft 365 Exchange Online – PowerShell Module
EXO v2 Exchange Online PowerShell Module download here Some PowerShell commands to help you manage your Microsof 365 Exchange. More information on the Microsoft Site here How to load the…
WVD – Windows Virtual Desktop – Admin Tasks, Tips and Useful Blogs
Windows Virtual Desktop: The Best Step-by-Step Walkthrough Windows Virtual Desktop - Add/Remove Users by AD Group using Azure Automation WVD Troubleshooting Options Tips Tricks – Windows Virtual Desktop Windows…
New Release: PowerCLI 11.4.0
Great news for all the scripting people out there. New Release: PowerCLI 11.4.0 #PowerCLI #Scripting #WhatsNew New Release: PowerCLI 11.4.0 August is always a great month when it comes to…
Ping sweep script test
POWERSHELL import-CSV "" | foreach { $result = Test-Connection -ComputerName $_.Name -Count 1 -Quiet $_.name, $result -join ',' | out-file "c:\scripts\PingSweep\computer_results.txt" -Append } COMMAND /BATCH SCRIPT Create list of computers…
List User Profile Status On A Client Windows 10 Machine
Run on client machine to see the status of user profiles on a Windows10 machine Type the following PowerShell command : gwmi win32_userprofile | select localpath, roamingpath, status
New Release: PowerCLI 11.0.0
New Release: PowerCLI 11.0.0 New Release: PowerCLI 11.0.0 PowerCLI has been moving at quite the rapid pace over the last 2 years. In 2018, we’ve been releasing roughly every other…
List Computers in Specific OU which are Enabled and Output to CSV
# Out puts computer accounts including status Enabled True or False # Targets a specific OU # Lists computer names # OU Variable to set $OU_HotWiredUK_location = "OU=Computers,OU=HotWiredHQ,OU=UK,DC=test,DC=com" # Out…
Task : Output A List Of Home Drive Paths Configured In Active Directory
#DSQuery dsquery user -name "*" -limit 0 | dsget user -samid -hmdir -hmdrv -profile >c:\temp\usersV2.txt #PowerShell # More flexibility # Includes the state of the computer account (Enable or…