Can someone please tell me why this doesn't work?
#Import ConfigMgr PSH Module
Import-Module
$env:SMS_ADMIN_UI_PATH.Replace(\bin\i386,\bin\configurationmanager.psd1)
#Get the CMSITE SiteCode
$SiteCode = Get-PSDrive -PSProvider CMSITE
# Change the connection context
Set-Location
Perfect thanks
From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On
Behalf Of Platt, Kevin (Courts)
Sent: Monday, July 21, 2014 1:46 PM
To: 'scripting@lists.myitforum.com'
Subject: RE: [scripting] VBScript Write file to Network path
And if you want the extension on