Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PSDeploy
0.2.0
Private/New-TargetOnVM.ps1
Function
New-Target
{
param
(
$Target
,
$Session
)
$null
=
Invoke-Command
-Session
$session
-ScriptBlock
{
New-Item
-Path
$Using:Target
-ItemType
Directory
-Force
}
}