Advertisement
PowerShell_PC_Aide

Backup-GPO.ps1

Sep 15th, 2019
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <#
  2. ----------------------------------------------------------------------------------------------------
  3.     MS.Docs: https://docs.microsoft.com/en-us/powershell/module/grouppolicy/backup-gpo?view=win10-ps
  4.  
  5.     Module: GroupPolicy
  6.  
  7.     Syntax:
  8.         1) Backup-GPO [-Name] <String> -path <String>
  9.        
  10.  
  11.     Args:
  12.         [optional] -Domain <string>
  13. ----------------------------------------------------------------------------------------------------
  14. #>
  15.  
  16. #https://imgur.com/XiNrLwc
  17. Backup-GPO GPO-COM-Remote-Desktop -path "\\GPO\SRV\Computer\GPO-COM-Remote-Desktop"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement