I'm trying to use PowerShell to set group policy on a number of non domain joined PCs running Windows 10 Professional.
I have installed RSAT: Group Policy Management Tools but when using the get-GPO cmdlet the following error occurs:
get-GPO : Current security context is not associated with an Active Directory domain or forest.
Is there a method to use get-GPO and other associated cmdlets to just use the local computer?
Thanks