Version : 1.0
File Name : batforps.ps1
Author : Adewale Azeez - iamthecarisma@gmail.com
Date : Jan-06-2020
batforps [-Command] [-powershell_script_path] <String>
[-output_folder_path] <String> [-Absolute] [<CommonParameters>]
attr |
value |
---|---|
Required? |
false |
Position? |
named |
Default value |
False |
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
attr |
value |
---|---|
Required? |
true |
Position? |
1 |
Default value |
|
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
attr |
value |
---|---|
Required? |
true |
Position? |
2 |
Default value |
|
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
attr |
value |
---|---|
Required? |
false |
Position? |
named |
Default value |
False |
Accept pipeline input? |
false |
Accept wildcard characters? |
false |
This 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).
batforps ./commands/printhead.ps1 ./dist/
batforps -Command Set-Location ./dist/
The commands above creates a batch script wrapper for the powershell
Set-Location
command