Get-ISItem
Gets the item at the specified location.
Syntax
Get-ISItem [-path] <String> [-topLevelFolder] <String> [-serverName] <String> [[-recurse]] [[-include] <String>] [[-exclude] <String>] [<CommonParameters>]
Detailed Description
The Get-ISItem function gets the item at the specified location. It does not get the contents of the item at the location unless you use a wildcard character (*) to request all the contents of the item.
Related Commands
Parameters
Name |
Description |
Required? |
Pipeline Input |
Default Value |
path |
|
true |
false |
|
topLevelFolder |
|
true |
false |
|
serverName |
|
true |
false |
|
recurse |
|
false |
false |
|
include |
|
false |
false |
|
exclude |
|
false |
false |
|
Input Type
None
You cannot pipe objects to Get-ISItem.
Return Values
Microsoft.SqlServer.Dts.Runtime.PackageInfo
Get-ISItem returns a Microsoft.SqlServer.Dts.Runtime.PackageInfo object.
Examples
EXAMPLE 1
get-isitem -path '\' -topLevelFolder 'msdb' -serverName 'Z002\SQL2K8' -recurse
This command recursively gets all of the SSIS packages and folders starting at the root ('\') level on SQL Server Z002\SQL2K8.