Set Registry Key Permissions with Powershell

A useful script to set registry key permissions with Powershell.  This example gives full control to the built in Users group. $acl = Get-Acl “HKLM:\SOFTWARE\Example” $person = [System.Security.Principal.NTAccount]”BuiltIn\Users” $access = [System.Security.AccessControl.RegistryRights]”FullControl” $inheritance = [System.Security.AccessControl.InheritanceFlags]”ContainerInherit,ObjectInherit” $propagation = [System.Security.AccessControl.PropagationFlags]”None” $type = [System.Security.AccessControl.AccessControlType]”Allow” … Continue reading

Common App-V 5 Powershell Commands

The following posts contains common App-V 5 Powershell commands.  Assuming a package consisting of the following: Package Name: AlkaneSolutions AlkaneSolutions.appv AlkaneSolutions_DeploymentConfig.xml AlkaneSolutions_UserConfig.xml and a connection group consisting of: Package Name: AlkaneSolutions_ConnectionGroup AlkaneSolutions_ConnectionGroup.xml General Commands Import the App-V 5 module (so … Continue reading

|