You will need to update the CompanyName to yours
Tag: powershell
Powershell script to change\set Registry Key Permissions with Subkeys for a User
Powershell script to set Registry Key Permissions with Subkeys for a User ( Needs to be run as admin as its changing things in HKCU:\Software\Policies
How to Use Powershell to Mail Merge Outlook Signature for Users out of Active Directory
Script 1 Script 2 Script 3 https://github.com/raymix/PowerShell-Outlook-Signatures
Add Local Printers via Powershell for Intune
How to diagnose issues with Powershell Scripts Running in Intune
Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IntuneManagementExtension\PoliciesYou will need to navigate to a subtree in their […]
ShadowCopyVolume Scheduled Task Failing with 0x2
In monitoring we recently saw a Scheduled Task for a Shadow Copy Job failing with 0x2.After running the Action manually in CMD I go the below errorC:\Windows\system32>C:\Windows\system32\vssadmin.exe […]
Server 2012R2 Reboot changed Network Location to Private/Public from Domain Authenticated
Recently after a reboot of a server, it came up as errored in our monitoring. I couldn’t ping it however when I logged into it, I could ping […]
How to search for Services and Scheduled Tasks run as specific user
All organizations should be using service accounts for Specific Tasks and Services, however, some legacy systems might not be. This script will search all servers listed in […]
Powershell to Install Desktop Experience on Server OS in Powershell
[pastacode lang=”markup” user=”pariswells” repos=”public-code” path_id=”InstallDesktopExperience.ps1″ revision=”” highlight=”” lines=”” provider=”github”/]
How to List Folder Permissions for User Shares and Reset the NTFS permissions
List the permissions on all the folders[pastacode lang=”markdown” user=”pariswells” repos=”public-code” path_id=”ListFolderPermission.ps1″ revision=”” highlight=”” lines=”” provider=”github”/]Change the permissions[pastacode lang=”markdown” user=”pariswells” repos=”public-code” path_id=”FixUserFolderNTFSPermissions.ps1″ revision=”” highlight=”” lines=”” provider=”github”/]