System Requirements
To install and use the Cayosoft PowerShell Module for the Microsoft Graph API, your system must meet the following requirements:
- Operating System: Windows 8.1 Enterprise or Pro, Windows 10, Windows Server 2008 R2 SP1, Windows Server 2012 R2 or Windows Server 2016
- .NET Framework: 4.5
- Windows PowerShell: 3.0 or above
Installation
The Cayosoft Graph module is hosted on PowerShell Gallery here: https://www.powershellgallery.com/packages/Cayosoft.Graph/.
To install the Cayosoft Graph module on your system, run PowerShell ISE or PowerShell command prompt as an administrator from the system Start menu and run the following command:
Install-Module -Name Cayosoft.Graph -Scope AllUsers
If you are upgrading the Cayosoft Graph module from the previous version, add -Force parameter to replace the previous version on your system:
Install-Module -Name Cayosoft.Graph -Force -Scope AllUsers
Verifying installation
To verify that the Cayosoft Graph module is installed, run the Get-Module command and see if Cayosoft.Graph is present in the result list:
PS C:\Users\Administrator> Get-Module
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Binary 0.1.2.0 Cayosoft.Graph {Connect-CGraph, Disconnect-CGraph, Get-CGraphResource, New-CGraphResource...}
Script 1.0.0.0 ISE {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Un-installation
To uninstall the Cayosoft Graph module from your system, run the following command in the PowerShell ISE or command prompt:
Uninstall-Module Cayosoft.Graph -AllVersions
Comments
0 comments
Please sign in to leave a comment.