NAME
InSYNOPSIS
A convenience function that executes a script from a specified path.SYNTAX
In [[-path]
DESCRIPTION
Before the script block passed to the execute parameter is invoked,
the current location is set to the path specified. Once the script block has been executed, the location will be reset to the locationthe script was in prior to calling In.
PARAMETERS
-path
The path that the execute block will be executed in.
Required? false Position? 1 Default valueAccept pipeline input? false
Accept wildcard characters? false-execute
The script to be executed in the path provided.
Required? false Position? 2 Default valueAccept pipeline input? false
Accept wildcard characters? falseThis cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS