Version : 1.0
File Name : shforps.ps1
Author : Adewale Azeez - iamthecarisma@gmail.com
Date : May-03-2020
shforps [-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).
shforps ./commands/printhead.ps1 ./dist/
shforps -Command Set-Location ./dist/
The commands above creates a shell script wrapper for the powershell
Set-Location
command