In addition to the system and hardware requirements, the following must be installed on the VitalSigns workstation/server.
- Powershell 4.0
- .NET Framework 4.5.1
The administration account must have the following:
- Active Directory credentials
- Member of Exchange Administrators group is ideal
- Requires the right to run remote Powershell commands
To set the appropriate permissions and settings for monitoring, please view the Server and Client Requirements sections
below:Tip |
---|
Open a Windows PowerShell session as administrator. |
Configure the station to receive remote commands:
No Format |
---|
Enable-PSRemoting –Force |
Enable Credential Security Service Provider (CREDSSP) authentication on the local server:
No Format |
---|
Enable-WSManCredSSP –Role Server |
Increase the maximum number of PS shells per user to 25:
No Format |
---|
winrm set winrm/config/winrs '@{MaxShellsPerUser="25"}' |
Increase the max memory per shell to 600MB:
No Format |
---|
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="600"}' |
Return all users who have the SharePoint_Shell_Access role:
No Format |
---|
Get-SPShellAdmin |
Column | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Return all users who have the SharePoint_Shell_Access role and confirm the desired user is now listed:
No Format |
---|
Get-SPShellAdmin |
No Format |
---|
Set-PSSessionConfiguration -Name Microsoft.PowerShell32 –ShowSecurityDescriptorUI |
Click OK to save the changes.
Once the server requirements have been met, please review the Client Requirements.
Enable Credential Security Service Provider (CREDSSP) authentication on the local client machine:
No Format |
---|
Enable-WSManCredSSP -Role client -DelegateComputer “SharePointServerName” |
Open a credentials prompt box:
No Format |
---|
$cred=get-Credential |
Create a new remote session to the SharePointServerName using the authentication type CredSSP and the credentials previously entered:
No Format |
---|
$s=new-PSsession “SharePointServerName” - authentication credssp -credential $cred |
Warning |
---|
If this fails with an "access denied" error, re-run step 7 in the Server Requirements (go to) to enable configuration of the x64 PowerShell. |
Load the SharePoint snap-in to the current session to allow SharePoint related scripts to be executed:
.
PowerShell;}Return all content databases in your SharePoint farm (which ensures you have access):
No Format |
---|
Invoke-Command -Session $s -ScriptBlock {get-SPContentDatabase} |
Return all SharePoint service instances (which ensures you have access):
No Format |
---|
Invoke-Command -Session $s -ScriptBlock {get-spserviceinstance} |
To attempt to use the PS Session to ensure connectivity between the two machines
No Format |
---|
Enter-PSSession -session $s |
You will now see the server(s) name in brackets [ ] PS: c:\users\someuser\documents.
Example: [sp2013-app.fabrikaminc.local]: PS C:\Users\adamb\Documents>