Skip to content

Latest commit

 

History

History
447 lines (300 loc) · 16.9 KB

File metadata and controls

447 lines (300 loc) · 16.9 KB
description Download Help Link Help Version Locale Module Guid Module Name ms.date title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
5.0.0.2
en-US
41486f7d-842f-40f1-ace4-8405f9c2ed9b
Storage
12/20/2016
Storage

Storage Module

Description

This reference provides cmdlet descriptions and syntax for all Windows Storage Management-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Storage Cmdlets

Adds an initiator ID to an existing masking set, granting the host associated with the initiator ID access to the virtual disk and target port resources defined in the masking set.

Adds an access path such as a drive letter or folder to a partition.

Adds a physical disk to the specified storage pool or manually assigns a physical disk to a specific virtual disk.

Adds one or more target ports to a specified masking set, allowing a connection between the target ports, and any virtual disks and initiator IDs that the masking set contains.

Adds a virtual disk to a specified masking set and grants access to the virtual disk to all initiator IDs defined in the masking set.

Blocks access to a file share.

Cleans a disk by removing all partition information and un-initializing it, erasing all data on the disk.

Unpins a file from the specified storage tier.

Connects a disconnected virtual disk to the specified computer when using the Windows Storage subsystem.

Finds problems with a file share and recommends solutions.

Finds problems with a storage subsystem and recommends solutions.

Finds problems with a volume and recommends solutions.

Turns off the identification LED on the specified physical disk.

Turns off the identification LED on a storage enclosure or the slots for individual disks.

Disables a Storage resource.

Disables storage maintenance mode on a fault domain.

Disconnects a virtual disk from the specified computer, revoking access to the virtual disk.

Dismounts a disk image (virtual hard disk or ISO) so that it can no longer be accessed as a disk.

Enables the identification LED on the specified physical disk.

Enables the identification LED on a storage enclosure or the slots for individual disks.

Enables a disk to be added to the failover cluster.

Enables storage maintenance mode on a device.

Formats one or more existing volumes or a new volume on an existing partition.

Gets Data Deduplication information.

Gets one or more disks visible to the operating system.

Gets one or more disk image objects (virtual hard disk or ISO).

Gets the view of a disk from a storage node.

Gets integrity information for a file on an ReFS volume.

Retrieves file share objects and their properties.

Retrieves an access control entry for the share corresponding to a single account.

Gets the files assigned to a Storage tier on a volume, and their status.

Gets the InitiatorID objects for the specified iSCSI initiators.

Gets one or more host bus adapter (HBA) initiator ports.

Gets masking sets.

Returns offloaded data transfer (ODX) settings for the specified subsystem.

Returns a list of all partition objects visible on all disks, or optionally a filtered list using specified parameters.

Returns information on supported partition sizes for the specified Disk object.

Gets a list of all PhysicalDisk objects visible across any available Storage Management Providers, or optionally a filtered list.

Gets the node view of a physical disk.

Gets physical allocations for a physical disk, storage tier, or virtual disk.

Gets the physical disk, storage tier, or virtual disk that is associated with a physical extent.

Gets the resiliency settings (also known as storage layouts) available for creating virtual disks on the specified storage subsystem.

Gets the advanced properties on a storage device.

Gets Storage diagnostic information.

Gets storage enclosures.

Gets the node view of a Storage enclosure.

Gets vendor-specific data for an enclosure.

Gets a Storage fault domain object.

Gets a storage file server.

Gets information about firmware on a storage object.

Gets health-related system activities.

Gets a storage health report.

Gets storage health service settings.

Returns information about long-running Storage module jobs, such as a repair task.

Gets storage nodes.

Gets a specific storage pool, or a set of StoragePool objects either from all storage subsystems across all storage providers, or optionally a filtered subset based on specific parameters.

Returns a list of the storage providers available on the local computer.

Gets storage reliability counters.

Gets a StorageSetting object.

Gets one or more StorageSubsystem objects.

Gets storage tiers on Windows Storage subsystems.

Gets the minimum and maximum possible sizes of a storage tier.

Gets the supported cluster sizes.

Gets the file system choices for a specified volume.

Returns a TargetPort object associated with a specific port address and connection type.

Returns a TargetPortal object.

Returns a list of VirtualDisk objects, across all storage pools, across all providers, or optionally a filtered subset based on provided criteria.

Returns all sizes supported by a storage pool for virtual disk creation based on the specified resiliency setting name.

Gets the specified Volume object, or all Volume objects if no filter is provided.

Gets a count of the file system errors on the NTFS volume.

Gets the status of the volume scrub policy.

Grants access to a file share.

Hides the virtual disk from the host when the Storage Management Provider in use does not support masking sets.

Initializes a RAW disk for first time use, enabling the disk to be formatted and used to store data.

Mounts a previously created disk image (virtual hard disk or ISO), making it appear as a normal disk.

Creates an access point for a remote file share.

Creates a new masking set.

Creates a new partition on an existing Disk object.

Creates a storage file server.

Creates a new storage pool using a group of physical disks.

Allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools.

Creates a storage tier.

Creates a new virtual disk in the specified storage pool.

Creates a new clone of a specified virtual disk.

Creates a new snapshot of the specified virtual disk.

Creates a volume with the specified file system.

Optimizes a Storage pool.

Optimizes a volume.

Connects to storage subsystems on a remote computer.

Removes a file share.

Removes an initiator identifier (ID).

Removes an initiator identifier (ID) from a masking set.

Removes a masking set.

Deletes the specified Partition object on an existing disk and any underlying Volume objects.

Removes an access path such as a drive letter or folder from a partition.

Removes a physical disk from a specified storage pool.

Removes a file server.

Removes a storage health service setting.

Deletes a storage pool and associated VirtualDisk objects.

Removes storage tiers from a storage pool.

Removes a specified target port from a masking set.

Deletes an existing virtual disk and reclaims the used space for use by other virtual disks in the same storage pool.

Removes a virtual disk from a specified masking set to block access to the virtual disk by an InitiatorIds object defined in the masking set.

Renames an existing masking set.

Repairs a corrupted file on an NTFS or ReFS volume.

Performs repairs on a virtual disk that is unhealthy.

Performs repairs on a volume.

Resets the status of a physical disk.

Resets storage reliability counters for a disk.

Resizes a partition and the underlying file system.

Increases the size of storage tiers.

Resizes an existing virtual disk to be larger or smaller.

Revokes access to a file share.

Takes a Disk object or unique disk identifiers and a set of attributes, and updates the physical disk on the system.

Sets integrity for a file on an ReFS volume.

Modifies a file share.

Assigns a file to a storage tier.

Sets properties on the InitiatorPort object.

Sets attributes of a partition, such as active, read-only, and offline states.

Sets attributes on a specific physical disk.

Modifies the properties of the specified resiliency setting name.

Modifies a storage file server.

Modifies a storage health service setting.

Modifies the properties of the specified storage pool.

Modifies whether to enable the SMP provider cache.

Adjusts or configures current storage settings of the StorageSetting object.

Modifies the properties of a StorageSubsystem object.

Modifies a storage tier.

Modifies the attributes of an existing virtual disk.

Sets or changes the file system label of an existing volume.

Sets the status of the volume scrub policy.

Makes a virtual disk available to a host.

Starts Storage diagnostic logging.

Stops a Storage diagnostic log.

Stops storage job.

Unblocks access to a file share.

Disconnects from storage subsystems on a remote computer.

Updates cached information about the specified Disk object only

Initiates an update on the host storage cache to reflect the current status of storage.

Updates the firmware on a storage device.

Updates the metadata of a Windows Server 2012 R2 storage pool.

Updates the cache of the service for a particular provider and associated child objects.

Writes the file system cache to disk.