Test-IsAdmin

1.0.0

Test admin privileges without using -Requires RunAsAdministrator, which causes a nasty error message if
trying to load the function within a PS profile but without Administrative privileges.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Test-IsAdmin -RequiredVersion 1.0.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Jimmy Briggs | 2023

Package Details

Author(s)

  • Jimmy Briggs

Tags

Permissions Test Admin User UAC Utility Assertion

Dependencies

This script has no dependencies.

Release Notes

Initial Release

FileList

Version History

Version Downloads Last updated
1.0.1 80 3/13/2023
1.0.0 (current version) 14 1/26/2023