From a2bc2a7c28718eb8838f6f897e3ced0bed509b72 Mon Sep 17 00:00:00 2001 From: Zachary Gorman Date: Mon, 28 Oct 2024 16:53:45 -0700 Subject: [PATCH] Refactoring git presence so git objects aren't installed when installing/updating get-pc --- .gitignore | 3 ++- {Data => Get-PC/Data}/AppsToIgnore.json | 0 {Data => Get-PC/Data}/ExpectedApps.json | Bin {Data => Get-PC/Data}/SHSEquipmentLookup.txt | 0 {Data => Get-PC/Data}/USBIDs.txt | Bin {Data => Get-PC/Data}/gamblecore.wav | Bin {Data => Get-PC/Data}/xfiles.wav | Bin Get-PC.Format.ps1xml => Get-PC/Get-PC.Format.ps1xml | 0 Get-PC.psd1 => Get-PC/Get-PC.psd1 | 0 Get-PC.psm1 => Get-PC/Get-PC.psm1 | 0 HeaderExample => Get-PC/HeaderExample | 0 {Private => Get-PC/Private}/AppDiff.ps1 | 0 {Private => Get-PC/Private}/Apps.ps1 | 0 {Private => Get-PC/Private}/BatchInvokes.ps1 | 0 {Private => Get-PC/Private}/BatchJobs.ps1 | 0 {Private => Get-PC/Private}/Bypass.ps1 | 0 {Private => Get-PC/Private}/ClearCCMCache.ps1 | 0 {Private => Get-PC/Private}/Connect-ISM.ps1 | 0 {Private => Get-PC/Private}/EnableComputer.ps1 | 0 {Private => Get-PC/Private}/EventLog.ps1 | 0 {Private => Get-PC/Private}/ExportTo-Excel.ps1 | 0 {Private => Get-PC/Private}/FileSystem.ps1 | 0 .../Private}/Find-ISMBusinessObject.ps1 | 0 {Private => Get-PC/Private}/GPUpdate.ps1 | 0 {Private => Get-PC/Private}/Get-CMDBDELInfo.ps1 | 0 {Private => Get-PC/Private}/Get-CMDBFallback.ps1 | 0 {Private => Get-PC/Private}/Get-Devices.ps1 | 0 .../Private}/Get-DevicesUnplugged.ps1 | 0 {Private => Get-PC/Private}/Get-FreeDiskSpace.ps1 | 0 {Private => Get-PC/Private}/Get-Hostname.ps1 | 0 .../Private}/Get-ISMBusinessObject.ps1 | 0 {Private => Get-PC/Private}/Get-LastLoginTimes.ps1 | 0 {Private => Get-PC/Private}/Get-USB.ps1 | 0 {Private => Get-PC/Private}/InstallNet35.ps1 | 0 .../Private}/Invoke-CMDBweblaunch.ps1 | 0 {Private => Get-PC/Private}/Invoke-Wake.ps1 | 0 {Private => Get-PC/Private}/LogOffUser.ps1 | 0 {Private => Get-PC/Private}/NextPrinterName.ps1 | 0 {Private => Get-PC/Private}/PCCleanup.ps1 | 0 {Private => Get-PC/Private}/PCLocal.ps1 | 0 {Private => Get-PC/Private}/PCMonitor.ps1 | 0 {Private => Get-PC/Private}/PCReboot.ps1 | 0 {Private => Get-PC/Private}/PCRename.ps1 | 0 {Private => Get-PC/Private}/PrinterPurge.ps1 | 0 {Private => Get-PC/Private}/Quiet.ps1 | 0 {Private => Get-PC/Private}/RemoteDesktopApp.ps1 | 0 {Private => Get-PC/Private}/ResetRepository.ps1 | 0 {Private => Get-PC/Private}/Resources.ps1 | 0 {Private => Get-PC/Private}/SCCMQuery.ps1 | 0 {Private => Get-PC/Private}/SCCMQueryBlock.ps1 | 0 {Private => Get-PC/Private}/SHSPrinter.ps1 | 0 {Private => Get-PC/Private}/SHSUser.ps1 | 0 {Private => Get-PC/Private}/ScanToEmail.ps1 | 0 .../Private}/Search-ISMBusinessObject.ps1 | 0 {Private => Get-PC/Private}/Set-CMDBLocation.ps1 | 0 {Private => Get-PC/Private}/UninstallProgram.ps1 | 0 {Private => Get-PC/Private}/Update-GetPC.ps1 | 0 .../Private}/Update-ISMBusinessObject.ps1 | 0 {Private => Get-PC/Private}/UserProfileBackup.ps1 | 0 {Private => Get-PC/Private}/UserProfileTransfer.ps1 | 0 {Private => Get-PC/Private}/ViewerRemote.ps1 | 0 {Private => Get-PC/Private}/WinProfileRebuild.ps1 | 0 {Public => Get-PC/Public}/Get-PC.ps1 | 0 README.md => Get-PC/README.md | 0 patchnotes.txt => Get-PC/patchnotes.txt | 0 65 files changed, 2 insertions(+), 1 deletion(-) rename {Data => Get-PC/Data}/AppsToIgnore.json (100%) rename {Data => Get-PC/Data}/ExpectedApps.json (100%) rename {Data => Get-PC/Data}/SHSEquipmentLookup.txt (100%) rename {Data => Get-PC/Data}/USBIDs.txt (100%) rename {Data => Get-PC/Data}/gamblecore.wav (100%) rename {Data => Get-PC/Data}/xfiles.wav (100%) rename Get-PC.Format.ps1xml => Get-PC/Get-PC.Format.ps1xml (100%) rename Get-PC.psd1 => Get-PC/Get-PC.psd1 (100%) rename Get-PC.psm1 => Get-PC/Get-PC.psm1 (100%) rename HeaderExample => Get-PC/HeaderExample (100%) rename {Private => Get-PC/Private}/AppDiff.ps1 (100%) rename {Private => Get-PC/Private}/Apps.ps1 (100%) rename {Private => Get-PC/Private}/BatchInvokes.ps1 (100%) rename {Private => Get-PC/Private}/BatchJobs.ps1 (100%) rename {Private => Get-PC/Private}/Bypass.ps1 (100%) rename {Private => Get-PC/Private}/ClearCCMCache.ps1 (100%) rename {Private => Get-PC/Private}/Connect-ISM.ps1 (100%) rename {Private => Get-PC/Private}/EnableComputer.ps1 (100%) rename {Private => Get-PC/Private}/EventLog.ps1 (100%) rename {Private => Get-PC/Private}/ExportTo-Excel.ps1 (100%) rename {Private => Get-PC/Private}/FileSystem.ps1 (100%) rename {Private => Get-PC/Private}/Find-ISMBusinessObject.ps1 (100%) rename {Private => Get-PC/Private}/GPUpdate.ps1 (100%) rename {Private => Get-PC/Private}/Get-CMDBDELInfo.ps1 (100%) rename {Private => Get-PC/Private}/Get-CMDBFallback.ps1 (100%) rename {Private => Get-PC/Private}/Get-Devices.ps1 (100%) rename {Private => Get-PC/Private}/Get-DevicesUnplugged.ps1 (100%) rename {Private => Get-PC/Private}/Get-FreeDiskSpace.ps1 (100%) rename {Private => Get-PC/Private}/Get-Hostname.ps1 (100%) rename {Private => Get-PC/Private}/Get-ISMBusinessObject.ps1 (100%) rename {Private => Get-PC/Private}/Get-LastLoginTimes.ps1 (100%) rename {Private => Get-PC/Private}/Get-USB.ps1 (100%) rename {Private => Get-PC/Private}/InstallNet35.ps1 (100%) rename {Private => Get-PC/Private}/Invoke-CMDBweblaunch.ps1 (100%) rename {Private => Get-PC/Private}/Invoke-Wake.ps1 (100%) rename {Private => Get-PC/Private}/LogOffUser.ps1 (100%) rename {Private => Get-PC/Private}/NextPrinterName.ps1 (100%) rename {Private => Get-PC/Private}/PCCleanup.ps1 (100%) rename {Private => Get-PC/Private}/PCLocal.ps1 (100%) rename {Private => Get-PC/Private}/PCMonitor.ps1 (100%) rename {Private => Get-PC/Private}/PCReboot.ps1 (100%) rename {Private => Get-PC/Private}/PCRename.ps1 (100%) rename {Private => Get-PC/Private}/PrinterPurge.ps1 (100%) rename {Private => Get-PC/Private}/Quiet.ps1 (100%) rename {Private => Get-PC/Private}/RemoteDesktopApp.ps1 (100%) rename {Private => Get-PC/Private}/ResetRepository.ps1 (100%) rename {Private => Get-PC/Private}/Resources.ps1 (100%) rename {Private => Get-PC/Private}/SCCMQuery.ps1 (100%) rename {Private => Get-PC/Private}/SCCMQueryBlock.ps1 (100%) rename {Private => Get-PC/Private}/SHSPrinter.ps1 (100%) rename {Private => Get-PC/Private}/SHSUser.ps1 (100%) rename {Private => Get-PC/Private}/ScanToEmail.ps1 (100%) rename {Private => Get-PC/Private}/Search-ISMBusinessObject.ps1 (100%) rename {Private => Get-PC/Private}/Set-CMDBLocation.ps1 (100%) rename {Private => Get-PC/Private}/UninstallProgram.ps1 (100%) rename {Private => Get-PC/Private}/Update-GetPC.ps1 (100%) rename {Private => Get-PC/Private}/Update-ISMBusinessObject.ps1 (100%) rename {Private => Get-PC/Private}/UserProfileBackup.ps1 (100%) rename {Private => Get-PC/Private}/UserProfileTransfer.ps1 (100%) rename {Private => Get-PC/Private}/ViewerRemote.ps1 (100%) rename {Private => Get-PC/Private}/WinProfileRebuild.ps1 (100%) rename {Public => Get-PC/Public}/Get-PC.ps1 (100%) rename README.md => Get-PC/README.md (100%) rename patchnotes.txt => Get-PC/patchnotes.txt (100%) diff --git a/.gitignore b/.gitignore index 600d2d3..60ba4dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.vscode \ No newline at end of file +.vscode +Get-PC VS Code.code-workspace \ No newline at end of file diff --git a/Data/AppsToIgnore.json b/Get-PC/Data/AppsToIgnore.json similarity index 100% rename from Data/AppsToIgnore.json rename to Get-PC/Data/AppsToIgnore.json diff --git a/Data/ExpectedApps.json b/Get-PC/Data/ExpectedApps.json similarity index 100% rename from Data/ExpectedApps.json rename to Get-PC/Data/ExpectedApps.json diff --git a/Data/SHSEquipmentLookup.txt b/Get-PC/Data/SHSEquipmentLookup.txt similarity index 100% rename from Data/SHSEquipmentLookup.txt rename to Get-PC/Data/SHSEquipmentLookup.txt diff --git a/Data/USBIDs.txt b/Get-PC/Data/USBIDs.txt similarity index 100% rename from Data/USBIDs.txt rename to Get-PC/Data/USBIDs.txt diff --git a/Data/gamblecore.wav b/Get-PC/Data/gamblecore.wav similarity index 100% rename from Data/gamblecore.wav rename to Get-PC/Data/gamblecore.wav diff --git a/Data/xfiles.wav b/Get-PC/Data/xfiles.wav similarity index 100% rename from Data/xfiles.wav rename to Get-PC/Data/xfiles.wav diff --git a/Get-PC.Format.ps1xml b/Get-PC/Get-PC.Format.ps1xml similarity index 100% rename from Get-PC.Format.ps1xml rename to Get-PC/Get-PC.Format.ps1xml diff --git a/Get-PC.psd1 b/Get-PC/Get-PC.psd1 similarity index 100% rename from Get-PC.psd1 rename to Get-PC/Get-PC.psd1 diff --git a/Get-PC.psm1 b/Get-PC/Get-PC.psm1 similarity index 100% rename from Get-PC.psm1 rename to Get-PC/Get-PC.psm1 diff --git a/HeaderExample b/Get-PC/HeaderExample similarity index 100% rename from HeaderExample rename to Get-PC/HeaderExample diff --git a/Private/AppDiff.ps1 b/Get-PC/Private/AppDiff.ps1 similarity index 100% rename from Private/AppDiff.ps1 rename to Get-PC/Private/AppDiff.ps1 diff --git a/Private/Apps.ps1 b/Get-PC/Private/Apps.ps1 similarity index 100% rename from Private/Apps.ps1 rename to Get-PC/Private/Apps.ps1 diff --git a/Private/BatchInvokes.ps1 b/Get-PC/Private/BatchInvokes.ps1 similarity index 100% rename from Private/BatchInvokes.ps1 rename to Get-PC/Private/BatchInvokes.ps1 diff --git a/Private/BatchJobs.ps1 b/Get-PC/Private/BatchJobs.ps1 similarity index 100% rename from Private/BatchJobs.ps1 rename to Get-PC/Private/BatchJobs.ps1 diff --git a/Private/Bypass.ps1 b/Get-PC/Private/Bypass.ps1 similarity index 100% rename from Private/Bypass.ps1 rename to Get-PC/Private/Bypass.ps1 diff --git a/Private/ClearCCMCache.ps1 b/Get-PC/Private/ClearCCMCache.ps1 similarity index 100% rename from Private/ClearCCMCache.ps1 rename to Get-PC/Private/ClearCCMCache.ps1 diff --git a/Private/Connect-ISM.ps1 b/Get-PC/Private/Connect-ISM.ps1 similarity index 100% rename from Private/Connect-ISM.ps1 rename to Get-PC/Private/Connect-ISM.ps1 diff --git a/Private/EnableComputer.ps1 b/Get-PC/Private/EnableComputer.ps1 similarity index 100% rename from Private/EnableComputer.ps1 rename to Get-PC/Private/EnableComputer.ps1 diff --git a/Private/EventLog.ps1 b/Get-PC/Private/EventLog.ps1 similarity index 100% rename from Private/EventLog.ps1 rename to Get-PC/Private/EventLog.ps1 diff --git a/Private/ExportTo-Excel.ps1 b/Get-PC/Private/ExportTo-Excel.ps1 similarity index 100% rename from Private/ExportTo-Excel.ps1 rename to Get-PC/Private/ExportTo-Excel.ps1 diff --git a/Private/FileSystem.ps1 b/Get-PC/Private/FileSystem.ps1 similarity index 100% rename from Private/FileSystem.ps1 rename to Get-PC/Private/FileSystem.ps1 diff --git a/Private/Find-ISMBusinessObject.ps1 b/Get-PC/Private/Find-ISMBusinessObject.ps1 similarity index 100% rename from Private/Find-ISMBusinessObject.ps1 rename to Get-PC/Private/Find-ISMBusinessObject.ps1 diff --git a/Private/GPUpdate.ps1 b/Get-PC/Private/GPUpdate.ps1 similarity index 100% rename from Private/GPUpdate.ps1 rename to Get-PC/Private/GPUpdate.ps1 diff --git a/Private/Get-CMDBDELInfo.ps1 b/Get-PC/Private/Get-CMDBDELInfo.ps1 similarity index 100% rename from Private/Get-CMDBDELInfo.ps1 rename to Get-PC/Private/Get-CMDBDELInfo.ps1 diff --git a/Private/Get-CMDBFallback.ps1 b/Get-PC/Private/Get-CMDBFallback.ps1 similarity index 100% rename from Private/Get-CMDBFallback.ps1 rename to Get-PC/Private/Get-CMDBFallback.ps1 diff --git a/Private/Get-Devices.ps1 b/Get-PC/Private/Get-Devices.ps1 similarity index 100% rename from Private/Get-Devices.ps1 rename to Get-PC/Private/Get-Devices.ps1 diff --git a/Private/Get-DevicesUnplugged.ps1 b/Get-PC/Private/Get-DevicesUnplugged.ps1 similarity index 100% rename from Private/Get-DevicesUnplugged.ps1 rename to Get-PC/Private/Get-DevicesUnplugged.ps1 diff --git a/Private/Get-FreeDiskSpace.ps1 b/Get-PC/Private/Get-FreeDiskSpace.ps1 similarity index 100% rename from Private/Get-FreeDiskSpace.ps1 rename to Get-PC/Private/Get-FreeDiskSpace.ps1 diff --git a/Private/Get-Hostname.ps1 b/Get-PC/Private/Get-Hostname.ps1 similarity index 100% rename from Private/Get-Hostname.ps1 rename to Get-PC/Private/Get-Hostname.ps1 diff --git a/Private/Get-ISMBusinessObject.ps1 b/Get-PC/Private/Get-ISMBusinessObject.ps1 similarity index 100% rename from Private/Get-ISMBusinessObject.ps1 rename to Get-PC/Private/Get-ISMBusinessObject.ps1 diff --git a/Private/Get-LastLoginTimes.ps1 b/Get-PC/Private/Get-LastLoginTimes.ps1 similarity index 100% rename from Private/Get-LastLoginTimes.ps1 rename to Get-PC/Private/Get-LastLoginTimes.ps1 diff --git a/Private/Get-USB.ps1 b/Get-PC/Private/Get-USB.ps1 similarity index 100% rename from Private/Get-USB.ps1 rename to Get-PC/Private/Get-USB.ps1 diff --git a/Private/InstallNet35.ps1 b/Get-PC/Private/InstallNet35.ps1 similarity index 100% rename from Private/InstallNet35.ps1 rename to Get-PC/Private/InstallNet35.ps1 diff --git a/Private/Invoke-CMDBweblaunch.ps1 b/Get-PC/Private/Invoke-CMDBweblaunch.ps1 similarity index 100% rename from Private/Invoke-CMDBweblaunch.ps1 rename to Get-PC/Private/Invoke-CMDBweblaunch.ps1 diff --git a/Private/Invoke-Wake.ps1 b/Get-PC/Private/Invoke-Wake.ps1 similarity index 100% rename from Private/Invoke-Wake.ps1 rename to Get-PC/Private/Invoke-Wake.ps1 diff --git a/Private/LogOffUser.ps1 b/Get-PC/Private/LogOffUser.ps1 similarity index 100% rename from Private/LogOffUser.ps1 rename to Get-PC/Private/LogOffUser.ps1 diff --git a/Private/NextPrinterName.ps1 b/Get-PC/Private/NextPrinterName.ps1 similarity index 100% rename from Private/NextPrinterName.ps1 rename to Get-PC/Private/NextPrinterName.ps1 diff --git a/Private/PCCleanup.ps1 b/Get-PC/Private/PCCleanup.ps1 similarity index 100% rename from Private/PCCleanup.ps1 rename to Get-PC/Private/PCCleanup.ps1 diff --git a/Private/PCLocal.ps1 b/Get-PC/Private/PCLocal.ps1 similarity index 100% rename from Private/PCLocal.ps1 rename to Get-PC/Private/PCLocal.ps1 diff --git a/Private/PCMonitor.ps1 b/Get-PC/Private/PCMonitor.ps1 similarity index 100% rename from Private/PCMonitor.ps1 rename to Get-PC/Private/PCMonitor.ps1 diff --git a/Private/PCReboot.ps1 b/Get-PC/Private/PCReboot.ps1 similarity index 100% rename from Private/PCReboot.ps1 rename to Get-PC/Private/PCReboot.ps1 diff --git a/Private/PCRename.ps1 b/Get-PC/Private/PCRename.ps1 similarity index 100% rename from Private/PCRename.ps1 rename to Get-PC/Private/PCRename.ps1 diff --git a/Private/PrinterPurge.ps1 b/Get-PC/Private/PrinterPurge.ps1 similarity index 100% rename from Private/PrinterPurge.ps1 rename to Get-PC/Private/PrinterPurge.ps1 diff --git a/Private/Quiet.ps1 b/Get-PC/Private/Quiet.ps1 similarity index 100% rename from Private/Quiet.ps1 rename to Get-PC/Private/Quiet.ps1 diff --git a/Private/RemoteDesktopApp.ps1 b/Get-PC/Private/RemoteDesktopApp.ps1 similarity index 100% rename from Private/RemoteDesktopApp.ps1 rename to Get-PC/Private/RemoteDesktopApp.ps1 diff --git a/Private/ResetRepository.ps1 b/Get-PC/Private/ResetRepository.ps1 similarity index 100% rename from Private/ResetRepository.ps1 rename to Get-PC/Private/ResetRepository.ps1 diff --git a/Private/Resources.ps1 b/Get-PC/Private/Resources.ps1 similarity index 100% rename from Private/Resources.ps1 rename to Get-PC/Private/Resources.ps1 diff --git a/Private/SCCMQuery.ps1 b/Get-PC/Private/SCCMQuery.ps1 similarity index 100% rename from Private/SCCMQuery.ps1 rename to Get-PC/Private/SCCMQuery.ps1 diff --git a/Private/SCCMQueryBlock.ps1 b/Get-PC/Private/SCCMQueryBlock.ps1 similarity index 100% rename from Private/SCCMQueryBlock.ps1 rename to Get-PC/Private/SCCMQueryBlock.ps1 diff --git a/Private/SHSPrinter.ps1 b/Get-PC/Private/SHSPrinter.ps1 similarity index 100% rename from Private/SHSPrinter.ps1 rename to Get-PC/Private/SHSPrinter.ps1 diff --git a/Private/SHSUser.ps1 b/Get-PC/Private/SHSUser.ps1 similarity index 100% rename from Private/SHSUser.ps1 rename to Get-PC/Private/SHSUser.ps1 diff --git a/Private/ScanToEmail.ps1 b/Get-PC/Private/ScanToEmail.ps1 similarity index 100% rename from Private/ScanToEmail.ps1 rename to Get-PC/Private/ScanToEmail.ps1 diff --git a/Private/Search-ISMBusinessObject.ps1 b/Get-PC/Private/Search-ISMBusinessObject.ps1 similarity index 100% rename from Private/Search-ISMBusinessObject.ps1 rename to Get-PC/Private/Search-ISMBusinessObject.ps1 diff --git a/Private/Set-CMDBLocation.ps1 b/Get-PC/Private/Set-CMDBLocation.ps1 similarity index 100% rename from Private/Set-CMDBLocation.ps1 rename to Get-PC/Private/Set-CMDBLocation.ps1 diff --git a/Private/UninstallProgram.ps1 b/Get-PC/Private/UninstallProgram.ps1 similarity index 100% rename from Private/UninstallProgram.ps1 rename to Get-PC/Private/UninstallProgram.ps1 diff --git a/Private/Update-GetPC.ps1 b/Get-PC/Private/Update-GetPC.ps1 similarity index 100% rename from Private/Update-GetPC.ps1 rename to Get-PC/Private/Update-GetPC.ps1 diff --git a/Private/Update-ISMBusinessObject.ps1 b/Get-PC/Private/Update-ISMBusinessObject.ps1 similarity index 100% rename from Private/Update-ISMBusinessObject.ps1 rename to Get-PC/Private/Update-ISMBusinessObject.ps1 diff --git a/Private/UserProfileBackup.ps1 b/Get-PC/Private/UserProfileBackup.ps1 similarity index 100% rename from Private/UserProfileBackup.ps1 rename to Get-PC/Private/UserProfileBackup.ps1 diff --git a/Private/UserProfileTransfer.ps1 b/Get-PC/Private/UserProfileTransfer.ps1 similarity index 100% rename from Private/UserProfileTransfer.ps1 rename to Get-PC/Private/UserProfileTransfer.ps1 diff --git a/Private/ViewerRemote.ps1 b/Get-PC/Private/ViewerRemote.ps1 similarity index 100% rename from Private/ViewerRemote.ps1 rename to Get-PC/Private/ViewerRemote.ps1 diff --git a/Private/WinProfileRebuild.ps1 b/Get-PC/Private/WinProfileRebuild.ps1 similarity index 100% rename from Private/WinProfileRebuild.ps1 rename to Get-PC/Private/WinProfileRebuild.ps1 diff --git a/Public/Get-PC.ps1 b/Get-PC/Public/Get-PC.ps1 similarity index 100% rename from Public/Get-PC.ps1 rename to Get-PC/Public/Get-PC.ps1 diff --git a/README.md b/Get-PC/README.md similarity index 100% rename from README.md rename to Get-PC/README.md diff --git a/patchnotes.txt b/Get-PC/patchnotes.txt similarity index 100% rename from patchnotes.txt rename to Get-PC/patchnotes.txt