Citrix Provisioning Services 7

Citrix Provisioning Services 7.15 PowerShell with Objects Programmer's Guide

Revision 1 August 2017

Copyright and Trademark Notice

Information in this document is subject to change without notice. Companies, names, and data used in examples herein are fictitious unless otherwise noted. Other than printing one copy for personal use, no part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Citrix Systems, Inc.

Copyright 2001--2017 Citrix Systems, Inc. All rights reserved.

Citrix, ICA (Independent Computing Architecture), NetScaler, and Program Neighborhood are registered trademarks; Citrix Presentation Server, Citrix Access Essentials, Citrix Access Gateway, Citrix Password Manager, Citrix Application Firewall, Citrix Application Gateway, Citrix Provisioning Services, Citrix Streaming Profiler, Citrix Streaming Client, Citrix Streaming Service, Citrix EdgeSight, Citrix WANScaler, Citrix SmoothRoaming, Citrix Authorized Learning Center, Citrix Subscription Advantage, Citrix Technical Support, and Speed Screen are trademarks of Citrix Systems, Inc. in the United States and other countries.

Copyright RSA Encryption 1996--1998 RSA Security Inc. All rights reserved.

Table of Contents

Introduction ................................................................................................................... 12 Using the PowerShell Programmer Interface with Objects ........................................ 12

Installation of PowerShell Snap-In ................................................................................ 12 Registration of McliPSSnapIn.dll using Import-Module .............................................. 12 Registration of Citrix.PVS.SnapIn.dll using Add-PSSnapin ....................................... 12 64-bit Registration .................................................................................................. 12 32-bit Registration .................................................................................................. 12 Alternative Registration of Citrix.PVS.SnapIn.dll in PowerShell................................. 13 64-bit Registration in PowerShell ........................................................................... 13 32-bit Registration in PowerShell ........................................................................... 13

Uninstall of PowerShell Snap-In .................................................................................... 13 Unregister of Citrix.PVS.SnapIn.dll ............................................................................ 13 64-bit Unregister..................................................................................................... 13 32-bit Unregister..................................................................................................... 13 Alternative Unregister of Citrix.PVS.SnapIn.dll in PowerShell ................................... 13 64-bit Unregister in PowerShell.............................................................................. 13 32-bit Unregister in PowerShell.............................................................................. 14

Setup of the SOAP Server Communication................................................................... 14 Set-PvsConnection .................................................................................................... 14

Command Specific Help ................................................................................................ 16 Error Handling ............................................................................................................... 16 Short cmdlet list............................................................................................................. 17 Cmdlet by Object Type.................................................................................................. 21

Many.......................................................................................................................... 21 AuthGroup ................................................................................................................. 22 CeipData.................................................................................................................... 22 CisData ...................................................................................................................... 22 Collection ................................................................................................................... 22 Device........................................................................................................................ 22 Disk............................................................................................................................ 23 DiskLocator................................................................................................................ 25

Farm .......................................................................................................................... 25 FarmView .................................................................................................................. 25 Server ........................................................................................................................ 25 Site ............................................................................................................................ 26 SiteView..................................................................................................................... 26 Store .......................................................................................................................... 26 System....................................................................................................................... 26 Task........................................................................................................................... 27 UpdateTask ............................................................................................................... 27 Error codes.................................................................................................................... 27 Objects, in the Citrix.PVS.SnapIn Namespace.............................................................. 42 PvsADAccount........................................................................................................... 42 PvsAuditAction .......................................................................................................... 42 PvsAuditActionParameter .......................................................................................... 43 PvsAuditActionProperty ............................................................................................. 43 PvsAuditTrail ............................................................................................................. 43 PvsAuthGroup ........................................................................................................... 45 PvsAuthGroupUsage ................................................................................................. 45 PvsCeipData.............................................................................................................. 45 PvsCisData ................................................................................................................ 46 PvsCollection ............................................................................................................. 46 PvsConnection .......................................................................................................... 47 PvsDevice.................................................................................................................. 48 PvsDeviceBootstrap .................................................................................................. 50 PvsDeviceBootstrapList ............................................................................................. 50 PvsDeviceDiskTempVersion ..................................................................................... 50 PvsDeviceInfo............................................................................................................ 51 PvsDevicePersonality ................................................................................................ 54 PvsDevicePersonalityList .......................................................................................... 54 PvsDeviceStatus........................................................................................................ 54 PvsDisk...................................................................................................................... 55 PvsDiskInfo................................................................................................................ 56 PvsDiskInventory ....................................................................................................... 59

PvsDiskLocator.......................................................................................................... 59 PvsDiskLocatorLock .................................................................................................. 60 PvsDiskUpdateDevice ............................................................................................... 61 PvsDiskUpdateStatus ................................................................................................ 62 PvsDiskVersion.......................................................................................................... 63 PvsFarm .................................................................................................................... 64 PvsFarmView ............................................................................................................ 65 PvsGroup................................................................................................................... 66 PvsLocalServer.......................................................................................................... 66 PvsNewDiskVersion .................................................................................................. 66 PvsPhysicalAddress .................................................................................................. 66 PvsServer .................................................................................................................. 66 PvsServerBiosBootstrap ............................................................................................ 68 PvsServerBootstrap................................................................................................... 70 PvsServerBootstrapName ......................................................................................... 71 PvsServerInfo ............................................................................................................ 71 PvsServerStatus ........................................................................................................ 73 PvsServerStore.......................................................................................................... 73 PvsSite ...................................................................................................................... 74 PvsSiteView............................................................................................................... 74 PvsStore .................................................................................................................... 75 PvsStoreSharedOrServerPath................................................................................... 75 PvsTask ..................................................................................................................... 76 PvsUndefinedDisk ..................................................................................................... 76 PvsUpdateTask ......................................................................................................... 76 PvsVersion ................................................................................................................ 78 PvsVirtualHostingPool ............................................................................................... 78 PvsXDSite ................................................................................................................. 79 Cmdlets ......................................................................................................................... 79 Add-PvsDeviceToDomain.......................................................................................... 79 Add-PvsDeviceToView .............................................................................................. 82 Add-PvsDiskLocatorToDevice ................................................................................... 83 Add-PvsDiskToUpdateTask....................................................................................... 86

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download