To provide WMI privilages for a non administrator user. Supply the username and required permissions as parameters.
WMI Privilages for a non-administrator user using Powershell
The below script will create a mailbox Database in Exchange Server with the name D10. Create a mailbox Database in Exchange Server
To add Attributes to Global Catalog Replication , supply the attribute name as parameter.
Add Attributes to Global Catalog Replication
Supply the FQDN(Fully Qualified Domain Name) and GUID of GPO as parameters.
Turn off User or Computer settings of a GPO
Execute the below script to determine whether a machine is Laptop or not.
Determine whether a machine is Laptop or not
Supply the folder path name and number of days to delete Files Older than X days. Number of days must be in negative.
Powershell Script to Delete Files Older than X days
Supply the required text as parameter to display all events that contain the text.
Display Events with a particular Text
To Find a text and replace it with a desired text in a File . Supply file path , the text to find and the text to be replaced as parameter.
Powershell Script to Find and Replace in a File
Execute the script to find the maximum and minimum space in a local disk.
Display maximum and minimum FreeSpace in a logical disk
Supply the process name as parameter to display its parent process name.
Display the Parent Process of given Process