Windows Server Solutions Cmdlets in Windows PowerShell
Applies To: Windows Server 2012 Essentials
Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.
Windows Server Solutions Cmdlets
This reference provides cmdlet descriptions and syntax for all WSS cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
Cmdlet | Description |
---|---|
Adds a backup file specification to a volume that is part of a backup. |
|
Adds a date and time to a backup policy for use as a backup schedule. |
|
Adds a bare metal recovery option to a scheduled backup policy. |
|
Adds a backup target to a scheduled backup. |
|
Adds a volume to a scheduled backup policy. |
|
Creates a relationship between a user and a computer for Remote Web Access. |
|
Adds physical disks to a storage pool. |
|
Creates a new server folder. |
|
Adds or renews a certificate for the current computer. |
|
Adds a link to the the homepage of a Remote Web Access website. |
|
Adds a new user account. |
|
Deletes an alert. |
|
Copies files needed to build a client recovery image to a USB device. |
|
Disables the group policy setting for folder redirection. |
|
Disables predefined security group policies. |
|
Disables and ignores an alert. |
|
Disables and removes a scheduled server backup policy. |
|
Disables client backup for a computer. |
|
Disables backup for a volume on a client. |
|
Disables Remote Web Access. |
|
Enables the group policy setting for folder redirection. |
|
Enables predefined security group policies. |
|
Enables an alert. |
|
Enables client backup for a computer. |
|
Enables backup for a volume on a computer. |
|
Enables Remote Web Access. |
|
Removes a server from a domain. |
|
Gets installed add-ins. |
|
Gets alerts that the server generated. |
|
Gets settings for alert email notification. |
|
Gets file specifications from a volume that is part of a backup. Retrieves files specifications from a volume that is to be backed up. |
|
Gets a list of online hard disks that can be backup targets and can store server backups. |
|
Gets the status of current or previous backup jobs. |
|
Gets the current scheduled backup policy. |
|
Gets the backup schedule from a scheduled backup policy. |
|
Gets a collection of backup sets from a server backup. |
|
Gets a bare metal recovery option from a scheduled backup policy. |
|
Retrieves all backup targets from a scheduled backup policy. |
|
Gets backup volumes from a server, from a scheduled backup policy, or from existing backups. |
|
Gets information about client backup jobs. |
|
Gets a list of clients that the server can back up. |
|
Gets the status of backup-related operations. |
|
Gets the volume configuration of a computer. |
|
Gets backup information for a backup volume job. |
|
Gets device information objects for the computers in a network. |
|
Gets an object that represents a disk. |
|
Gets the domain name configuration of Windows Server 2012. |
|
Gets an object that represents a drive. |
|
Checks whether a drive is in use. |
|
Gets the File History configuration settings for the server. |
|
Gets the File History managed status of a computer. |
|
Gets an object that represents a folder. |
|
Gets the current global client backup policy. |
|
Gets the name of the Media Library. |
|
Gets the status of media streaming for a server. |
|
Gets the shared folders included in the Media Library. |
|
Gets a collection of VHDs from a backup set. |
|
Gets the current password policy for a server. |
|
Gets child recovery items from a parent recovery item. |
|
Retrieves a listing of remote connections from Remote Web Access clients, VPN clients, or Web API applications. |
|
Retrieves the filename of the background image displayed on the Remote Web Access website. |
|
Retrieves the collection of links on the home page of a Remote Web Access website. |
|
Retrieves the name of the file that contains the logo for the Remote Web Access website. |
|
Retrieves the status of a Remote Web Access website. |
|
Retrieves the title string of a Remote Web Access website. |
|
Retrieves information about the router for the local network. |
|
Retrieves the server connection option. |
|
Retrieves a storage pool, or all storage pools in the system. |
|
Retrieves a user account by name or security identifier. |
|
Gets the Windows Experience Index processor subscore. |
|
Retrieves a setting that determines if a user can configure the CPU assessment. |
|
Imports a user from Active Directory. |
|
Prepares a disk for, or removes a disk from, a Windows Server® 2012 Essentials backup. |
|
Initializes a disk for Windows Server 2012 Essentials storage. |
|
Installs or redeploys an add-in package. |
|
Installs a VPN server. |
|
Starts a BPA scan. |
|
Joins the server to a domain. |
|
Calculates the size of a given server folder. |
|
Moves a server folder to a different drive. |
|
Creates a file specification that specifies the files and folders to include in or exclude from a backup. |
|
Creates a backup target from a backup disk. |
|
Creates a recovery configuration for a file restore operation. |
|
Removes a file specification from a backup volume. |
|
Removes a backup schedule from a scheduled backup policy. |
|
Removes a bare metal recovery option from a scheduled backup policy. |
|
Removes a backup target from a scheduled backup policy. |
|
Removes a backup volume from a scheduled backup policy. |
|
Removes a client computer identity, backup, and properties from the network. |
|
Removes a relationship between a user and a computer for Remote Web Access. |
|
Removes a server folder. |
|
Removes a link from the home page of a Remote Web Access website. |
|
Deletes a user. |
|
Repairs an alert. |
|
Repairs the database that stores information for media streaming. |
|
Repairs Remote Web Access. |
|
Repairs the router configuration. |
|
Resumes the scheduled task that runs server backup in TaskScheduler. |
|
Selects a VHD from a backup set to mount for a file restore operation. |
|
Changes settings for alert email notification. |
|
Creates or changes a scheduled backup policy. |
|
Changes job retention policy and description for a client backup. |
|
Specifies folders to exclude from client backup on a computer. |
|
Changes the domain name configuration of the server. |
|
Changes drive name or whether to enable snapshots. |
|
Changes the File History configurations settings for the server. |
|
Changes the File History managed status of a computer. |
|
Changes the settings of a server folder. |
|
Changes the global client backup policy. |
|
Specifies a security group for the NAS Limit. |
|
Includes or excludes the specified shared folder from the Media Library. |
|
Changes the name of the Media Library. |
|
Enables or disables media streaming on a server. |
|
Sets the background image for a Remote Web Access website. |
|
Sets the path and filename of the logo image for the Remote Web Access website. |
|
Modifies the title string of a Remote Web Access website. |
|
Modifies the server connection option. |
|
Modifies the user access setting. |
|
Modifies the Windows Experience Index processor subscore. |
|
Starts a manual server backup. |
|
Starts a client backup for a computer. |
|
Starts an attempt to repair the database of client computer backups. |
|
Starts a file restore operation. |
|
Starts a volume restore operation. |
|
Cancels the currently running backup job. |
|
Cancels a client backup for a computer. |
|
Stops the attempt to repair a database of client computer backups. |
|
Stops a scheduled task from running the next scheduled backup. |
|
Refreshes user account information from a domain controller. |
|
Sends a test alert email. |
|
Checks a drive for file system errors, and optionally repairs errors. |
|
Performs an evaluation of all health checks. |
|
Checks for an installation of VPN server. |
|
Uninstalls an add-in. |
|
Uninstalls a VPN server. |
Note
To list all the cmdlets that are available, use the Get-Command –Module WindowsServerSolutions
cmdlet.
For more information about, or for the syntax of, any of the cmdlets, use the Get-Help
<cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:
● Get-Help
<cmdlet name> -Detailed
● Get-Help
<cmdlet name> -Examples
● Get-Help
<cmdlet name> -Full