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