Remove-StaffHubUser cmdlet

Copper Contributor

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

 

3 Replies
Hi @AndrewSimon

AFAIK, the StaffHub module. It is here (latest version 1.0.6)

https://www.powershellgallery.com/packages/MicrosoftStaffHub/1.0.6-alpha

Hope that answers your question!

Best, Chris

Hi@Christopher Hoard 

 

Where on that page you linked do you see Remove-StaffHubUser? Not seeing the cmdlet

Hmm, doesn't explicitly list it.

I would say, this page lists is as part of the module

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

This is the latest module

https://www.powershellgallery.com/packages/MicrosoftStaffHub/1.0.6-alpha

It does say in the notes of the article it is in Beta so it may be in the next version (1.0.x) or could have been rescinded since the document was written. I would recommending and testing with the latest version.

Let me know how it goes!

Best, Chris