Personal Collection of Powershell scripts. No guarantees provided with any of these scripts. VMware Enable-HotAdd.ps1- To enable Hot-add for CPU and memory (requires VM reboot to become active) Get-HostRAIDLevel
Of course if you’re deep into PowerShell scripts and tools, you’re likely one to shy away from user interfaces and live in the terminal, as I am. But we don’t always write scripts for ourselves, and those we share them with don’t always have the same skills as the author of t...
powerspells Small collection of powershell scripts useful during lateral movement Find-InterestingFiles Look for keywords in files and package them for exfil. The "LocationIsServer" allows you to specify a file share (e.g. \myserver) and it will pillage all shares FindInterestingFiles 'C:\secr...
This script could help you to apply a Label in an entire Site Collection (All document libraries into all subsites). It's using an old command for "Set-PnPLabel" (I was not able to apply it with the last version of this "command"). You will ...
If you want to get Collections for a single device there are numerous scripts that can get that information for you. if you run Powershell from the ConfigMgr console, you can add a function like this: prettyprint 复制 Function Get-Collections ($hostname){ $ResID = (Get-CMDevice -Name ...
to query Microsoft 365 service logs, then store them into a particular location for deeper inspection. You could then convert these scripts into scheduled tasks for a fully automated method. With Microsoft cloud services, you canschedule PowerShell jobs within Azureto perform these tasks as needed...
SCCM Powershell collection boundary groups The script can be downloaded on GitHub, since Technet Gallery is retiring soon. Be sure to rate the submission if you are using it. Example of the result of the script Tip Add region, country, or else as a prefix in your boundary group names fo...
Need a Powershell script to count the number of users in RDS Collection Need explanation of tag loadbalanceinfo:s:tsv: Need to install RDS in a new Windows Server 2016 without domain Need to restricts users view on Task Manager. Need to set the default application for a specific file ex...
PowerShell script to export User Information List There are several sources online providing script sample to export user list. However none of them can export user details (e.g. Login, email, and to distinguish between user and group). The login information is very important when your SharePo...
# *** # # File: Disable-IncrementalCollectionUpdates.ps1 # # Version: 1.0 # # Author: Brandon Linton # # Purpose: Disables Incremental Collection Updates on Collections in ConfigMgr # # # Usage: Run this script elevated on a system where PowerShell scripts # are enabled...