Detects the alias that called it and sets the location to the corresponding path found in the configuration system.
Set-PSUPath [[-Alias] <Object>] [-EnableException] [<CommonParameters>]
Detects the alias that called it and sets the location to the corresponding path. This function will normally be called using an alias that gets set by using Set-PSUPathAlias.
In this example ‘Software’ is an alias for Set-PSUPath that was created by using Set-PSUPathAlias. Set-PSUPath detected that ‘Software’ was the alias that called it and then sends it to the path. It receives the path from Get-PSUPathAlias ‘software’
This is the name of the alias that called the command. Default Value is $MyInvocation.line and is detected automatically
Type: Object Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: $MyInvocation.line Accept pipeline input: False Accept wildcard characters: False
Replaces user friendly yellow warnings with bloody red exceptions of doom! Use this if you want the function to throw terminating errors you want to catch.
Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.