Testing of add local group.
Select Veeam Backup and Replication PowerShell Toolkit
PowerShell 7.6.0
A new PowerShell stable release is available: 7.6.1
Upgrade now, or check out the release page at:
https://aka.ms/PowerShell-Release?tag=v7.6.1
Welcome to the Veeam Backup and Replication PowerShell Toolkit!
To list available commands, type Get-VBRCommand
To open online documentation on all available commands, type Get-VBRToolkitDocumentation
© Veeam Software Group GmbH. All rights reserved.
PS C:\Users\Administrator> Get-VBRUserRoleAssignment
Role Type Name Id
---- ---- ---- --
BackupAdmin Group Administrators 580df2ce-6666-4750-a7b8-b3c93a77f461
BackupOperator User HV-B\Administrator e8bf9c28-3304-4ce9-99ff-4ed56fd28c66
PS C:\Users\Administrator> net localgroup testnospace
Alias name testnospace
Comment
Members
--------------------------------------------------
The command completed successfully.
PS C:\Users\Administrator> net localgroup testnospace
Alias name testnospace
Comment
Members
--------------------------------------------------
Administrator
The command completed successfully.
PS C:\Users\Administrator> Add-VBRUserRoleAssignment -Name testnospace -Role BackupOperator
Add-VBRUserRoleAssignment: Cannot find user with the specified name: testnospace.
PS C:\Users\Administrator> add-VBRUserRoleAssignment -Name hv-b\testnospace -Role BackupOperator
Add-VBRUserRoleAssignment: Cannot find user with the specified name: hv-b\testnospace.
PS C:\Users\Administrator> whoami
hv-b\administrator