en-US/HideWindowsExplorerDrives-help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems xmlns="http://msh" schema="maml"> <command:command 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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details><command:name>Get-DriveStatus</command:name> <command:verb>Get</command:verb> <command:noun>DriveStatus</command:noun> <maml:description><maml:para>Gets drive letters and their visibility status to Windows Explorer. </maml:para> </maml:description> </command:details> <maml:description><maml:para>Windows explorer has the ability to hide drives from the user. This cmdlet returns drive letters and their visibility status. </maml:para> </maml:description> <command:syntax><command:syntaxItem><maml:name>Get-DriveStatus</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>DriveLetter</maml:name> <maml:Description><maml:para>Drive letter to display. If drive letter not present, all drives returned. </maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type><maml:name>String[]</maml:name> <maml:uri /></dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>DriveLetter</maml:name> <maml:Description><maml:para>Drive letter to display. If drive letter not present, all drives returned. </maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type><maml:name>String[]</maml:name> <maml:uri /></dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes><command:inputType><dev:type><maml:name>System.String[]</maml:name> </dev:type> <maml:description><maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues><command:returnValue><dev:type><maml:name>System.Object</maml:name> </dev:type> <maml:description><maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet><maml:alert><maml:para> </maml:para> </maml:alert> </maml:alertSet> <command:examples><command:example><maml:title>Example 1</maml:title> <dev:code>PS C:\> Get-DriveStatus DriveLetter IsHidden ----------- -------- A False B False C False D False E False F False ...</dev:code> <dev:remarks><maml:para>Returns the hidden status of all the drives. </maml:para> </dev:remarks> </command:example> <command:example><maml:title>Example 2</maml:title> <dev:code>PS C:\> Get-DriveStatus -DriveLetter C DriveLetter IsHidden ----------- -------- C False</dev:code> <dev:remarks><maml:para>Returns the hidden status of the C drive. </maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks><maml:navigationLink><maml:linkText>Github</maml:linkText> <maml:uri>https://github.com/dchristian3188/HideWindowsExplorerDrives</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command 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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details><command:name>Hide-DriveLetter</command:name> <command:verb>Hide</command:verb> <command:noun>DriveLetter</command:noun> <maml:description><maml:para>Hides a drive letter from Windows Explorer. </maml:para> </maml:description> </command:details> <maml:description><maml:para>Hides a drive letter from Windows Explorer. Windows Explorer must be restarted for all changes to take effect. </maml:para> </maml:description> <command:syntax><command:syntaxItem><maml:name>Hide-DriveLetter</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>DriveLetter</maml:name> <maml:Description><maml:para>The drive letter to hide. </maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type><maml:name>String[]</maml:name> <maml:uri /></dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>DriveLetter</maml:name> <maml:Description><maml:para>The drive letter to hide. </maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type><maml:name>String[]</maml:name> <maml:uri /></dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes><command:inputType><dev:type><maml:name>System.String[]</maml:name> </dev:type> <maml:description><maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues><command:returnValue><dev:type><maml:name>System.Object</maml:name> </dev:type> <maml:description><maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet><maml:alert><maml:para> </maml:para> </maml:alert> </maml:alertSet> <command:examples><command:example><maml:title>Example 1</maml:title> <dev:code>PS C:\> Hide-DriveLetter -DriveLetter C -Verbose VERBOSE: Hidding Drive Letter [C] VERBOSE: Please restart explorer for changes to take effect PS C:\> Stop-Process -Name explorer -Verbose -Force VERBOSE: Performing the operation "Stop-Process" on target "explorer (xxxx)".</dev:code> <dev:remarks><maml:para>This example hides the "C" drive and then restarts explorer to show the changes immediately. </maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks><maml:navigationLink><maml:linkText>Github</maml:linkText> <maml:uri>https://github.com/dchristian3188/HideWindowsExplorerDrives</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command 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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details><command:name>Show-DriveLetter</command:name> <command:verb>Show</command:verb> <command:noun>DriveLetter</command:noun> <maml:description><maml:para>Sets the drive letter to be visible to Windows Explorer. </maml:para> </maml:description> </command:details> <maml:description><maml:para>Makes sure a drive letter is visible to Windows Explorer. Windows Explorer must be restarted for all changes to take effect. </maml:para> </maml:description> <command:syntax><command:syntaxItem><maml:name>Show-DriveLetter</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>DriveLetter</maml:name> <maml:Description><maml:para>The drive letter to show. </maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type><maml:name>String[]</maml:name> <maml:uri /></dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters><command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"><maml:name>DriveLetter</maml:name> <maml:Description><maml:para>The drive letter to show. </maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type><maml:name>String[]</maml:name> <maml:uri /></dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes><command:inputType><dev:type><maml:name>System.String[]</maml:name> </dev:type> <maml:description><maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues><command:returnValue><dev:type><maml:name>System.Object</maml:name> </dev:type> <maml:description><maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet><maml:alert><maml:para> </maml:para> </maml:alert> </maml:alertSet> <command:examples><command:example><maml:title>Example 1</maml:title> <dev:code>C:\> Show-DriveLetter -DriveLetter C -Verbose VERBOSE: Showing Drive Letter [C] VERBOSE: Please restart explorer for changes to take effect PS C:\> Stop-Process -Name explorer -Verbose -Force VERBOSE: Performing the operation "Stop-Process" on target "explorer (xxxx)".</dev:code> <dev:remarks><maml:para>This example enables the "C" drive to be visible to Explorer and then restarts explorer to show the changes immediately. </maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks><maml:navigationLink><maml:linkText>Github</maml:linkText> <maml:uri>https://github.com/dchristian3188/HideWindowsExplorerDrives</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems> |