< Back

Remove-AMSystemPermission

Sat Jan 11, 2020 3:15 am

NAME Remove-AMSystemPermission



SYNOPSIS

Removes AutoMate Enterprise system permissions.





SYNTAX

Remove-AMSystemPermission [[-InputObject] <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Remove-AMSystemPermission removes the provided system permissions.





PARAMETERS

-InputObject <Object>

The permissions object(s) to remove.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

SystemPermission objects are deleted by this function.





OUTPUTS

None





-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Remove system permissions for user "MyUsername"



Get-AMUser "MyUsername" | Get-AMSystemPermission | Remove-AMSystemPermission











RELATED LINKS

https://github.com/AutomatePS/AutomatePS