TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Converting the FileSystemObject's GetFolder Method


Windows PowerShell


Definition: Returns an object reference to a Folder object.

GetFolder


Assign the output of the Get-Item cmdlet to a variable; that variable will contain a reference to the folder.


$a = Get-Item C:\Scripts


See conversions of other FileSystemObject methods and properties.
Return to the VBScript to Windows PowerShell home page

Show:
© 2016 Microsoft