Patch: 2024-06-24 -Add option in UserProfileBackup to specify custom path -Fix Apps so no longer creates profile -Update Devices to query SCCM when PC offline Patch: 2024-06-12 -Added Wake flag to attempt to wake pc over LAN -Added LastLogon field to SHSUser -Removed warnings from UserProfileBackup Patch: 2024-06-10 -Updated Apps to do a local query, picking up apps that SCCM missed Patch: 2024-06-05 -Add network interface to main output -Add free RAM to main output -Factored out UserProfileTransfer in anticipation of custom paths Patch: 2023-01-17 -Fix format on WinProfileRebuild.ps1 -Fix format on Get-PC.ps1 -Fix format on Apps.ps1 -No version change Patch: 2023-01-16 -Add new module -InstallNet35 Patch: 2023-01-13 -Remove calls to CBDM in main function -Remove -cmdb, -cmdblocation and -location -Clean formating of code in Get-PC, AssetConversion, SCCMQuery and PCRemote -Add CONST's to SCCMQuery to cut down on clutter -Rename all get-pc switches to start with capital Patch: 2022-10-27 -Reverted PCRename change Patch: 2022-10-27 -fixed issue with pcrename Patch: 2022-08-03 -Fixed a bug with the SSO client status due to an Imprivata change Patch: 2021-08-04 -updated shsprinter to use the location calc string -updated windows version display to use the new regkey -Added mobile devices to cmdb fallback Patch: 2021-03-12 -updated lookup table for 5080 chassis -Changed how the script determines the last login time of a user. This should fix the issue with all users appearing to have logged in recently. -updated query to get _SHSCalcLocationString -Changed the landesk query to grab _SHSCalcLocationString Get-CMDBLocation now user the longer of the two _SHSCalcLocationString and _SHSLocation3 Patch: 2020-11-10 -Userprofilebackup now excludes Teams cache Patch: 2020-09-25 -Added wildcard cmdb searches and cmdb location searches -fixed shsprinter progress bar -fixed bug related to querying the file system for multiple computers -Added some progress bars to common actions -Removed unneed pauses from PCReboot and LogOffUser -Added error checking to SCCM queries for dupes in sccm. Added more detailed output for PCCleanup GPUpdate will now automatically remove the old group policy before updating it. Patch: 2020-07-07 -bug fix with cmdb loc -fixed spelling bug in help Patch: 2020-06-24 -fixed a bug with -devices Patch: 2020-06-19 -updated devices for 17in monitors -made changes to cmdb location to reflect changes in landesk -Added custom formatting to overwrite defaults for -apps and -devices Patch: 2020-05-28 -Added Anesthesia carts to chassis type -Added DEL list lookup and support -Added CMDB Fallback for queries with no SCCM data -Added -devices to query all monitors and usb devices attached to the computer -made -cmdb have an assettag fallback -assorted minor bug fixes Patch: 2020-04-14 -Added CMDB data to shsprinter -Added some error checking for WinProfileRebuild folder rename -Updated SHSUser to accept full names Patch: 2020-03-25 -fixed bug in TPM Status Patch: 2020-03-20 -Added a warning for invalid inputs in -userprofilebackup -fixed bug causing shsuser not to work with -excel Patch: 2020-03-04 -updated wording in PCCleanup to be more clear Patch: 2020-03-03 -updated path for -update and version check Patch: 2020-03-02 -added cm01 path for updates and version check -fixed issue with the coast's totes adorbs baby hostname -added output for successful branch cache clearing Patch: 2020-02-26 -added -orion to launch into orion page for workstations Patch: 2020-02-21 -updated help -added ClearBCCache to pccleanup -added multi computer support to -apps -added -update for new installation method Patch: 2020-02-17 -Added a timeout for online hosts with broken cmi -Added a restore built into WinProfileRebuild -Updated path for request launcher Patch: 2020-02-06 -removed the #require to run as adminstrator and instead made it show an error and exit Patch: 2020-02-04 -fixed a bug pulling cp3525 -shsprinter -added install date to -apps -made batchinvoke default for multiple queries -fixed bug when querying win7 computers with old powershell and broken wmi Patch: 2020-01-31 -Added the ability to get-pc multiple computers much faster by using Invoke-command asynchronously Patch: 2020-01-30 -added -cmdblocation to update the location field in cmdb Patch: 2020-01-29 -Added test to see if computer is disabled or off the domain -added progress bar to jobs -removed kiosk and decom request -added -excel to create csv in temp and launch it with excel Patch: 2020-01-28 -Added running get-pc as seperate jobs -bug fix when pulling imprivata type -bug fix in shsprinter for officejets -Cleaned up get-pc, reducing calls by 30% -fixed bug causing no chassis type when querying sccm Patch: 2020-01-23 -Added fuser level to shsprinter -Added snmp calls to shsprinter to grab toner info Patch: 2020-01-21 -fixed bug when pulling MACs from 4250 and 4015s -Added status for shsprinters including zebras Patch: 2020-01-17 -added info to shsprinter -Added orion web popup in shsprinterweb Patch: 2020-01-13 -fixed bug causing -apps not to work for offline comps -fixed a bug in profile restore for certain sites -added -usb to pull basic usb device data -Added total page count to shsprinter Patch: 2020-01-09 -UserProfileBackup now copies files to the new locations on SCCM servers -Added SHSPrinterWeb to launch the web interface for a printer -fixed a bug in winprofilerebuild Patch: 2020-01-07 -Added -cmdb to launch the landesk cmdb page in IE -changed winprofile rebuild to allow rebuilding while users are logged in Patch: 2020-01-03 -fixed bug when rebuilding winprofile on local machine -added ability to see patchnotes with -patchnotes -can now comma seperate for shsuser -Bug fix on local pc drive size -Added Precision to list of models -Changed current user name to show (RDP/Inactive) since locked profiles are showing as RDP -added total drive size to freespace output -Changes to -HostnameByPrinter to allow pipe support -Added a cmdb location data check Will warn if cmdb mismatch or empty location data -Added CMDB location query -fixed bug in get username to stop profile generation when script is run. -Added -RequestLauncher which runs the request launcher script -fixed bug in logoff user if no user is logged on -Added error checking to stop rebuilding own profile -now returns an online user for RDP sessions -rewritten much of the code for get-pc. It is now in a form that matches most of the current shs powershell modules on gitlab. Get-pc now also properly interacts with the pipeline.