< Back

Remove-AMPermission

Sat Jan 11, 2020 3:14 am

NAME Remove-AMPermission



SYNOPSIS

Removes AutoMate Enterprise permissions.





SYNTAX

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





DESCRIPTION

Remove-AMPermission removes the provided 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

Permission objects are deleted by this function.





OUTPUTS

None





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



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



Get-AMFolder "FTP Workflows" | Get-AMPermission | Remove-AMPermission











RELATED LINKS

https://github.com/AutomatePS/AutomatePS