en-US/AudioConfig.dll-Help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" schema="maml" xmlns="http://msh">
  <command:command>
    <command:details>
      <command:name>Get-AudioDevice</command:name>
      <maml:description>
        <maml:para>Gets audio devices.</maml:para>
      </maml:description>
      <command:verb>Get</command:verb>
      <command:noun>AudioDevice</command:noun>
    </command:details>
    <maml:description>
      <maml:para>Gets audio devices. By default every active, disabled and unplugged devices will be returned. The command can also return devices that are not present if manually specified by ID, or if the State parameter is set to Any or NotPresent. The available information and actions are limited if the device is not present.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-AudioDevice</maml:name>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>DeviceType</maml:name>
          <maml:description>
            <maml:para>Specifies the kind of device that should be returned (Any, Playback, or Recording).
By default any device type is returned.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceKind</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>State</maml:name>
          <maml:description>
            <maml:para>Specifies the state of the devices that should be returned.
By default devices in the following states are returned: Active, Disabled, Unplugged.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceState</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Get-AudioDevice</maml:name>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
          <maml:name>ID</maml:name>
          <maml:description>
            <maml:para>Specifies the exact device ID(s) to be returned.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Get-AudioDevice</maml:name>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>DeviceType</maml:name>
          <maml:description>
            <maml:para>Specifies the kind of device that should be returned (Any, Playback, or Recording).
By default any device type is returned.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceKind</command:parameterValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>Role</maml:name>
          <maml:description>
            <maml:para>Specifies the role of the device to be returned.
Console refers to interactions with the computer such as system notifications or voice commands.
Multimedia refers to media content like music and movies or live music recordings.
Communications refers to communicating with other people in chat/VoIP applications.</maml:para>
            <maml:para>Windows currently combines the roles Console and Multimedia so setting a device as a Console device also makes it a Multimedia device and vice versa.
Future versions of Windows may change that however.
More details can be found here: https://learn.microsoft.com/en-us/windows/win32/coreaudio/device-roles</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceRole</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>DeviceType</maml:name>
        <maml:description>
          <maml:para>Specifies the kind of device that should be returned (Any, Playback, or Recording).
By default any device type is returned.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceKind</command:parameterValue>
      </command:parameter>
      <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
        <maml:name>ID</maml:name>
        <maml:description>
          <maml:para>Specifies the exact device ID(s) to be returned.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue>
      </command:parameter>
      <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>Role</maml:name>
        <maml:description>
          <maml:para>Specifies the role of the device to be returned.
Console refers to interactions with the computer such as system notifications or voice commands.
Multimedia refers to media content like music and movies or live music recordings.
Communications refers to communicating with other people in chat/VoIP applications.</maml:para>
          <maml:para>Windows currently combines the roles Console and Multimedia so setting a device as a Console device also makes it a Multimedia device and vice versa.
Future versions of Windows may change that however.
More details can be found here: https://learn.microsoft.com/en-us/windows/win32/coreaudio/device-roles</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceRole</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>State</maml:name>
        <maml:description>
          <maml:para>Specifies the state of the devices that should be returned.
By default devices in the following states are returned: Active, Disabled, Unplugged.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceState</command:parameterValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes />
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioDevice</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>None</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>--------- Example 1 ---------</maml:title>
        <maml:introduction>
          <maml:para>```powershell
PS C:\&gt; Get-AudioDevice -Role Communications -DeviceType Recording
```</maml:para>
          <maml:para>&#x80;</maml:para>
          <maml:para>This gets the default recording device used for chat applications.</maml:para>
        </maml:introduction>
        <dev:code />
        <dev:remarks />
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Online Version</maml:linkText>
        <command:uri />
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
  <command:command>
    <command:details>
      <command:name>Get-AudioSession</command:name>
      <maml:description>
        <maml:para>Gets audio sessions from the specified AudioDevices.</maml:para>
      </maml:description>
      <command:verb>Get</command:verb>
      <command:noun>AudioSession</command:noun>
    </command:details>
    <maml:description>
      <maml:para>Gets audio sessions from the specified AudioDevices.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-AudioSession</maml:name>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
          <maml:name>Device</maml:name>
          <maml:description>
            <maml:para>The devices to get the audio sessions from.
This parameter has an argument transformer that transforms device ID strings into the required objects so a device can be provided without the use of `Get-AudioDevice`.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.AudioDevice[]</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
        <maml:name>Device</maml:name>
        <maml:description>
          <maml:para>The devices to get the audio sessions from.
This parameter has an argument transformer that transforms device ID strings into the required objects so a device can be provided without the use of `Get-AudioDevice`.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.AudioDevice[]</command:parameterValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioDevice</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:inputType>
      <command:inputType>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioDevice</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioSession</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>None</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>--------- Example 1 ---------</maml:title>
        <maml:introduction>
          <maml:para>```powershell
PS C:\&gt; Get-AudioSession -Device '{0.0.0.00000000}.{3dec2c4f-ea08-470d-861e-ac8c17e1c571}'
```</maml:para>
          <maml:para>&#x80;</maml:para>
          <maml:para>This gets the audio sessions present on the device with the specified ID.</maml:para>
        </maml:introduction>
        <dev:code />
        <dev:remarks />
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Online Version</maml:linkText>
        <command:uri />
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
  <command:command>
    <command:details>
      <command:name>Set-AudioDevice</command:name>
      <maml:description>
        <maml:para>Modifies the provided audio devices with the specified settings.</maml:para>
      </maml:description>
      <command:verb>Set</command:verb>
      <command:noun>AudioDevice</command:noun>
    </command:details>
    <maml:description>
      <maml:para>This command can be used to set various audio device settings such as the volume level, and whether or not the device is muted or disabled.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Set-AudioDevice</maml:name>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>ChannelVolumeLevel</maml:name>
          <maml:description>
            <maml:para>This parameter lets users adjust the volume level on a per channel basis.
Each key in the dictionary represents a channel ID from 0 to the maximum number of channels on the device.
The value for each key represents the volume level from 0-100 for that channel.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.Collections.Generic.Dictionary`2[System.UInt32,System.Single]</command:parameterValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
          <maml:name>Device</maml:name>
          <maml:description>
            <maml:para>The devices to change settings for.
This parameter has an argument transformer that transforms device ID strings into the required objects so a device can be provided without the use of `Get-AudioDevice`.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.AudioDevice[]</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>Disabled</maml:name>
          <maml:description>
            <maml:para>Specifies that the devices should be disabled.
Can also be used to enable devices like so: `-Disabled:$false`.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>Muted</maml:name>
          <maml:description>
            <maml:para>Specifies that the devices should be muted.
Can also be used to unmute devices like so: `-Muted:$false`.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>Name</maml:name>
          <maml:description>
            <maml:para>Specifies a new name to be set on the devices.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>Role</maml:name>
          <maml:description>
            <maml:para>Specifies the roles to be set on the device.
Console refers to interactions with the computer such as system notifications or voice commands.
Multimedia refers to media content like music and movies or live music recordings.
Communications refers to communicating with other people in chat/VoIP applications.</maml:para>
            <maml:para>Windows currently combines the roles Console and Multimedia so setting a device as a Console device also makes it a Multimedia device and vice versa.
Future versions of Windows may change that however.
More details can be found here: https://learn.microsoft.com/en-us/windows/win32/coreaudio/device-roles</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceRole[]</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>VolumeLevel</maml:name>
          <maml:description>
            <maml:para>Specifies the master volume level of the device.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.Single</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>ChannelVolumeLevel</maml:name>
        <maml:description>
          <maml:para>This parameter lets users adjust the volume level on a per channel basis.
Each key in the dictionary represents a channel ID from 0 to the maximum number of channels on the device.
The value for each key represents the volume level from 0-100 for that channel.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.Collections.Generic.Dictionary`2[System.UInt32,System.Single]</command:parameterValue>
      </command:parameter>
      <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
        <maml:name>Device</maml:name>
        <maml:description>
          <maml:para>The devices to change settings for.
This parameter has an argument transformer that transforms device ID strings into the required objects so a device can be provided without the use of `Get-AudioDevice`.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.AudioDevice[]</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>Disabled</maml:name>
        <maml:description>
          <maml:para>Specifies that the devices should be disabled.
Can also be used to enable devices like so: `-Disabled:$false`.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>Muted</maml:name>
        <maml:description>
          <maml:para>Specifies that the devices should be muted.
Can also be used to unmute devices like so: `-Muted:$false`.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>Name</maml:name>
        <maml:description>
          <maml:para>Specifies a new name to be set on the devices.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>Role</maml:name>
        <maml:description>
          <maml:para>Specifies the roles to be set on the device.
Console refers to interactions with the computer such as system notifications or voice commands.
Multimedia refers to media content like music and movies or live music recordings.
Communications refers to communicating with other people in chat/VoIP applications.</maml:para>
          <maml:para>Windows currently combines the roles Console and Multimedia so setting a device as a Console device also makes it a Multimedia device and vice versa.
Future versions of Windows may change that however.
More details can be found here: https://learn.microsoft.com/en-us/windows/win32/coreaudio/device-roles</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">MartinGC94.AudioConfig.API.Enums.DeviceRole[]</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>VolumeLevel</maml:name>
        <maml:description>
          <maml:para>Specifies the master volume level of the device.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.Single</command:parameterValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioDevice</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:inputType>
      <command:inputType>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioDevice</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <dev:name>System.Object</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>None</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>--------- Example 1 ---------</maml:title>
        <maml:introduction>
          <maml:para>```powershell
PS C:\&gt; Set-AudioDevice '{0.0.0.00000000}.{3dec2c4f-ea08-470d-861e-ac8c17e1c571}' -ChannelVolumeLevel @{2 = 25; 3 = 30}
```</maml:para>
          <maml:para>&#x80;</maml:para>
          <maml:para>This sets the channel volume levels for channel 2 and 3 (Center and Subwoofer) to 25 and 30 respectively.</maml:para>
        </maml:introduction>
        <dev:code />
        <dev:remarks />
      </command:example>
      <command:example>
        <maml:title>--------- Example 2 ---------</maml:title>
        <maml:introduction>
          <maml:para>```powershell
PS C:\&gt; Get-AudioDevice | where FormFactor -NotIn Speakers,Microphone | Set-AudioDevice -Disabled
```</maml:para>
          <maml:para>&#x80;</maml:para>
          <maml:para>This disables every device that isn't a plain speaker/microphone.</maml:para>
        </maml:introduction>
        <dev:code />
        <dev:remarks />
      </command:example>
      <command:example>
        <maml:title>--------- Example 3 ---------</maml:title>
        <maml:introduction>
          <maml:para>```powershell
PS C:\&gt; Get-AudioDevice -DeviceType Recording -Role Communications | Set-AudioDevice -VolumeLevel 80
```</maml:para>
          <maml:para>&#x80;</maml:para>
          <maml:para>This finds the default recording device used for communications and sets the volume/gain to 80%.</maml:para>
        </maml:introduction>
        <dev:code />
        <dev:remarks />
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Online Version</maml:linkText>
        <command:uri />
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
  <command:command>
    <command:details>
      <command:name>Set-AudioSession</command:name>
      <maml:description>
        <maml:para>Modifies the provided audio sessions with the specified settings.</maml:para>
      </maml:description>
      <command:verb>Set</command:verb>
      <command:noun>AudioSession</command:noun>
    </command:details>
    <maml:description>
      <maml:para>This command can be used to set various audio session settings such as the volume level and the input/output device that should be used.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Set-AudioSession</maml:name>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>DisplayName</maml:name>
          <maml:description>
            <maml:para>Specifies a new displayname for the audio session.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>InputDeviceId</maml:name>
          <maml:description>
            <maml:para>Specifies the device ID where the session should get input from.
To reset the value, provide the value "Default".</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>Muted</maml:name>
          <maml:description>
            <maml:para>Specifies that the session should be muted.
Can also be used to unmute sessions like so: `-Muted:$false`.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>OutputDeviceId</maml:name>
          <maml:description>
            <maml:para>Specifies the device ID where the session should send its output.
To reset the value, provide the value "Default".</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
        </command:parameter>
        <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
          <maml:name>Session</maml:name>
          <maml:description>
            <maml:para>The session that should be modified.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.AudioSession[]</command:parameterValue>
        </command:parameter>
        <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
          <maml:name>VolumeLevel</maml:name>
          <maml:description>
            <maml:para>Specifies the volume level for the session.</maml:para>
          </maml:description>
          <command:parameterValue required="false" variableLength="true">System.Single</command:parameterValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>DisplayName</maml:name>
        <maml:description>
          <maml:para>Specifies a new displayname for the audio session.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>InputDeviceId</maml:name>
        <maml:description>
          <maml:para>Specifies the device ID where the session should get input from.
To reset the value, provide the value "Default".</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>Muted</maml:name>
        <maml:description>
          <maml:para>Specifies that the session should be muted.
Can also be used to unmute sessions like so: `-Muted:$false`.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>OutputDeviceId</maml:name>
        <maml:description>
          <maml:para>Specifies the device ID where the session should send its output.
To reset the value, provide the value "Default".</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue>
      </command:parameter>
      <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none">
        <maml:name>Session</maml:name>
        <maml:description>
          <maml:para>The session that should be modified.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="true">MartinGC94.AudioConfig.API.AudioSession[]</command:parameterValue>
      </command:parameter>
      <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none">
        <maml:name>VolumeLevel</maml:name>
        <maml:description>
          <maml:para>Specifies the volume level for the session.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="true">System.Single</command:parameterValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioSession</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:inputType>
      <command:inputType>
        <dev:type>
          <dev:name>MartinGC94.AudioConfig.API.AudioSession</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <dev:name>System.Object</dev:name>
        </dev:type>
        <maml:description>
          <maml:para>None</maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>None</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>--------- Example 1 ---------</maml:title>
        <maml:introduction>
          <maml:para>```powershell
PS C:\&gt; Get-AudioSession '{0.0.0.00000000}.{3dec2c4f-ea08-470d-861e-ac8c17e1c571}' | where DisplayName -Like *Firefox | Set-AudioSession -VolumeLevel 50
```</maml:para>
          <maml:para>&#x80;</maml:para>
          <maml:para>This finds the Firefox session on a specified device and sets the volume to 50%.</maml:para>
        </maml:introduction>
        <dev:code />
        <dev:remarks />
      </command:example>
      <command:example>
        <maml:title>--------- Example 2 ---------</maml:title>
        <maml:introduction>
          <maml:para>```powershell
PS C:\&gt; Get-AudioSession '{0.0.0.00000000}.{3dec2c4f-ea08-470d-861e-ac8c17e1c571}' |
  where DisplayName -Like *Firefox |
  Set-AudioSession -OutputDeviceId '{0.0.0.00000000}.{afb59535-2478-41c0-9e27-6a66d0fbd49a}'
```</maml:para>
          <maml:para>&#x80;</maml:para>
          <maml:para>This finds the Firefox session on a specified device and changes the output device.</maml:para>
        </maml:introduction>
        <dev:code />
        <dev:remarks />
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Online Version</maml:linkText>
        <command:uri />
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
</helpItems>