Forum Discussion

AndrewSimon's avatar
AndrewSimon
Copper Contributor
Sep 26, 2019

Remove-StaffHubUser cmdlet

What module contains " Remove-StaffHubUser "? Microsoft has a document on it but can't find a way to load it.

 

Tried:

 

PS C:\windows\system32> Install-Module staffhub
PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'staffhub'. Try Get-PSRepository to see all available
registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.1\PSModule.psm1:9683 char:34
+ ... talledPackages = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

 

Also tried:

 

Install-Module MicrosoftTeams

 

Remove-StaffHubUser:

 

https://docs.microsoft.com/en-us/powershell/module/staffhub/remove-staffhubuser?view=staffhub-ps

 

Resources