File_DelEmptyFolder

SYNOPSIS

Delete path if it is empty.

SYNTAX

__AllParameterSets

File_DelEmptyFolder [-Path] <string> [<CommonParameters>]

ALIASES

This cmdlet has the following aliases,

DESCRIPTION

This function deletes the specified path if it is empty.

EXAMPLES

EXAMPLE 1

File_DelEmptyFolder -Path “C:\Temp\test”

PARAMETERS

-Path

The path to delete.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

https://capasystems.atlassian.net/wiki/spaces/CI65DOC/pages/19462455445/cs.File+DelEmptyFolder