COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Returns a list of all partition objects visible on all disks, or optionally a filtered list using specified parameters.
Get-Partition [-UniqueId <String[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerReturns information on supported partition sizes for the specified Disk object.
Get-PartitionSupportedSize [-DiskNumber] <UInt32[]> [[-PartitionNumber] <UInt32[]>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets a list of all PhysicalDisk objects visible across any available Storage Management Providers, or optionally a filtered list.
Get-PhysicalDisk [-UniqueId <String>] [-Usage <PhysicalDiskUsage>] [-Description <String>]
[-Manufacturer <String>] [-Model <String>] [-CanPool <Boolean>] [-HealthStatus <PhysicalDiskHealthStatus>]
[-CimSession <CimSession>] [<CommonParameters>]Copied 0 timesWindows ServerThis cmdlet gets physical allocations for a physical disk, storage tier, or virtual disk. The "extent" (also known as "allocation" or "slab") is the area on a pooled disk containing one fragment of data for storage space.
Get-PhysicalExtent -PhysicalDisk <CimInstance> [-CimSession <CimSession>] [<CommonParameters>]Copied 0 timesWindows ServerGets the configuration information of a printer.
Get-PrintConfiguration [-ComputerName <String>] [-PrinterName] <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerRetrieves a list of print jobs in the specified printer.
Get-PrintJob [-ComputerName <String>] [-ID <UInt32>] [-PrinterName] <String> [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerRetrieves a list of printers installed on a computer.
Get-Printer [[-Name] <String[]>] [-ComputerName <String>] [-Full] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerRetrieves the list of printer drivers installed on the specified computer.
Get-PrinterDriver [[-Name] <String[]>] [-PrinterEnvironment <String[]>] [-ComputerName <String>]
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerRetrieves a list of printer ports installed on the specified computer.
Get-PrinterPort [[-Name] <String[]>] [-ComputerName <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerRetrieves printer properties for the specified printer.
Get-PrinterProperty [[-PropertyName] <String[]>] [-ComputerName <String>] [-PrinterName] <String>
[-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets the resiliency settings (also known as storage layouts) available for creating virtual disks on the specified storage subsystem.
Get-ResiliencySetting [-Name <String[]>] [-StoragePool <CimInstance>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets performance counter samples for a particular time or period of time.
Get-SMCounterSample -CollectorName <String> -CounterPath <String[]> [-BatchSize <UInt32>]
[-StartTime <DateTime>] [-EndTime <DateTime>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerGets the state of the performance data collector set.
Get-SMPerformanceCollector -CollectorName <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>]
[-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets the name of the failover cluster of which a server is a member.
Get-SMServerClusterName [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets the details of events generated in a Server Manager event log.
Get-SMServerEvent [-Log <String[]>] [-Level <EventLevelFlag[]>] [-StartTime <UInt64[]>] [-EndTime <UInt64[]>]
[-BatchSize <UInt32>] [-QueryFile <String[]>] [-QueryFileId <Int32[]>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets the server features on a managed node.
Get-SMServerFeature [-FilterFlag <FeatureFilterFlag>] [-BatchSize <UInt32>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets the basic inventory information of a server.
Get-SMServerInventory [-ComputerName <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerGets the status of Win32 services on a managed node.
Get-SMServerService [-Service <String[]>] [-BatchSize <UInt32>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets security access between failover clusters.
Get-SRAccess [[-ComputerName] <String>] [[-Cluster] <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets security delegation on a Storage Replica server.
Get-SRDelegation [[-ComputerName] <String>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerGets replication groups.
Get-SRGroup [-SourceComputerName] <String> [-SourceRGName] <String> [-DestinationComputerName] <String>
[-DestinationRGName] <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob]
[<CommonParameters>]Copied 0 timesWindows ServerGets replication network constraints for Storage Replica partnerships.
Get-SRNetworkConstraint [[-SourceComputerName] <String>] [[-SourceRGName] <String>]
[[-DestinationComputerName] <String>] [[-DestinationRGName] <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets replication partnerships.
Get-SRPartnership [[-SourceComputerName] <String>] [[-SourceRGName] <String>]
[[-DestinationComputerName] <String>] [[-DestinationRGName] <String>] [-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]Copied 0 timesWindows ServerGets the set of all Windows features that can be migrated from the local server or from a migration store.
Get-SmigServerFeature [<CommonParameters>]Copied 0 times