Get-NCacheVersion - PowerShell Cmdlet
This PowerShell Cmdlet enables the user to verify the NCache license. The PowerShell Cmdlet displays the registration and edition details for the registered versions. It displays the remaining days in evaluation mode if the evaluation is still valid, otherwise it displays the expiration message. You can also fetch the information about remote NCache installation using this PowerShell Cmdlet.
Important
NCache OSS has different parameters in some Cmdlet instances.
Get-NCacheVersion [-Server] [-Port] [-NoLogo] [-Credentials]
Examples of Get-NCacheVersion - PowerShell Cmdlet
- This command displays registration details.
Get-NCacheVersion
- This command displays registration details of machine 20.200.20.11.
Get-NCacheVersion -Server 20.200.20.11
- This command displays registration details of machine 20.200.20.11 on management port 8250 where the NCache Service is running.
Get-NCacheVersion -Server 20.200.20.11 -Port 8250
- This command displays registration details without displaying the logo banner.
Get-NCacheVersion -NoLogo
- This command authenticates the credentials provided and displays registration details.
Get-NCacheVersion -Credentials john_smith
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Server |
<String> |
Specifies a server name where the NCache Service is running. | Local Machine |
-Port |
<Long> |
Specifies the port on which NCache server is listening. | 8250 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the node. | - |