source
stringclasses
1 value
repo
stringclasses
33 values
repo_url
stringclasses
33 values
path
stringlengths
7
179
language
stringclasses
1 value
license
stringclasses
4 values
stars
int64
2.27k
53.4k
ref
stringclasses
4 values
size_bytes
int64
48
259k
text
stringlengths
48
259k
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Remove-StringLatinCharacter/Remove-StringLatinCharacter.ps1
PowerShell
mit
2,846
master
1,741
function Remove-StringLatinCharacter { <# .SYNOPSIS Function to remove diacritics from a string .DESCRIPTION Function to remove diacritics from a string .PARAMETER String Specifies the String that will be processed .EXAMPLE Remove-StringLatinCharacter -String "L'été de Raphaël" L'ete de Raphael...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemParent/Get-SCSMWorkItemParent.ps1
PowerShell
mit
2,846
master
3,996
function Get-SCSMWorkItemParent { <# .DESCRIPTION Function to retrieve the parent of a System Center Service Manager Work Item .SYNOPSIS Function to retrieve the parent of a System Center Service Manager Work Item .PARAMETER WorkItemGUI Specified the GUID of the Work Item ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMObjectPrefix/Get-SCSMObjectPrefix.ps1
PowerShell
mit
2,846
master
5,056
function Get-SCSMObjectPrefix { <# .SYNOPSIS Function to retrieve the Prefix used for the different WorkItem, Activities or Knowledge Article .DESCRIPTION Function to retrieve the Prefix used for the different WorkItem, Activities or Knowledge Article .PARAMETER ClassName Speci...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-ComputerInfo/Get-ComputerInfo.ps1
PowerShell
mit
2,846
master
8,194
#requires -Version 3 function Get-ComputerInfo { <# .SYNOPSIS This function query some basic Operating System and Hardware Information from a local or remote machine. .DESCRIPTION This function query some basic Operating System and Hardware Information from a local or remote machine. It requires P...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCCM-New-SCCMTSAppVariable/New-SCCMTSAppVariable.ps1
PowerShell
mit
2,846
master
1,682
Function New-SCCMTSAppVariable { <# .SYNOPSIS Function to create a SCCM Task Sequence Application Variable during the OSD .DESCRIPTION Function to create a SCCM Task Sequence Application Variable during the OSD .PARAMETER BaseVariableName Specifies the "Base Variable Name" pres...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Set-RDPEnable/Set-RDPEnable.ps1
PowerShell
mit
2,846
master
1,529
function Set-RDPEnable { <# .SYNOPSIS The function Set-RDPEnable enable RDP remotely using the registry .DESCRIPTION The function Set-RDPEnable enable RDP remotely using the registry .PARAMETER ComputerName Specifies the ComputerName .EXAMPLE PS C:\> Set-RDPEnable ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AZURE-APIM-Publish_API_Definitions_Swagger/AZURE-APIM-Publish_API_Definitions_Swagger.ps1
PowerShell
mit
2,846
master
1,937
<# .SYNOPSIS Script to publish API definitions to Azure APIM via OpenAPI Swagger URL. .DESCRIPTION Script to publish API definitions to Azure APIM via OpenAPI Swagger URL, with a healthcheck endpoint for liveness check. The script works for those who are using Swagger as a API documentation (see more https://swagger.i...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCCM-Add-SCCMGroupDeviceAffinity/Add-SCCMGroupDeviceAffinity.ps1
PowerShell
mit
2,846
master
2,413
Function Add-SCCMGroupDeviceAffinity { <# .SYNOPSIS Function to add a group as primary user on a device .DESCRIPTION Function to add a group as primary user on a device .PARAMETER SiteCode Specifies the SCCM SiteCode .PARAMETER SiteServer Specifies the SCCM Managem...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-StringCharCount/Get-StringCharCount.ps1
PowerShell
mit
2,846
master
508
Function Get-StringCharCount { <# .SYNOPSIS This function will count the number of characters in a string .DESCRIPTION This function will count the number of characters in a string .EXAMPLE PS C:\> Get-StringCharCount -String "Hello World" 11 .NOTES Francois-...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AZURE-Policy-Invoke-ComplianceEvaluation/Invoke-ComplianceEvaluation.ps1
PowerShell
mit
2,846
master
2,502
function Invoke-ComplianceEvaluation { <# .SYNOPSIS Function to trigger compliance evalution for Azure Policies on a specific Resource Group or Subscription .description The code assume you are already authenticated to azure .example # Load the function . ./invoke-complia...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
EXCHANGE-Connect-ExchangeOnPremises/Connect-ExchangeOnPremises.ps1
PowerShell
mit
2,846
master
1,547
function Connect-ExchangeOnPremises { <# .SYNOPSIS Function to Connect to an Exchange OnPremises environment .DESCRIPTION Function to Connect to an Exchange OnPremises environment .PARAMETER ConnectionUri Specifies the Connection Uri to use Example: http://ExchServer.la...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Sync-Wsus-Client/Sync-WsusClient.ps1
PowerShell
mit
2,846
master
2,029
function sync-WsusClient { <# .SYNOPSIS Function to force the given computer(s) to check for updates and check in with the WSUS server .DESCRIPTION Connects to computer list over WinRM (PsSession) and forces it to check for updates and report to its WSUS server Default if no computers listed is to use l...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Resolve-ShortURL/Resolve-ShortURL.ps1
PowerShell
mit
2,846
master
927
function Resolve-ShortURL { <# .SYNOPSIS Function to resolve a short URL to the absolute URI .DESCRIPTION Function to resolve a short URL to the absolute URI .PARAMETER ShortUrl Specifies the ShortURL .EXAMPLE Resolve-ShortURL -ShortUrl http://goo.gl/P5PKq .EXAMPLE Resolve-ShortURL -ShortUrl...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-LogFast/Get-LogFast.ps1
PowerShell
mit
2,846
master
2,252
function Get-LogFast { <# .DESCRIPTION Function to read a log file very fast .SYNOPSIS Function to read a log file very fast .EXAMPLE Get-LogFast -Path C:\megalogfile.log .EXAMPLE Get-LogFast -Path C:\367.msp.0.log -Match "09:36:43:417" -Verbose VERBOSE: [PRO...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/Microsoft.PowerShell_profile.ps1
PowerShell
mit
2,846
master
3,704
<# .SYNOPSIS Profile File .DESCRIPTION Profile File .NOTES Francois-Xavier Cat lazywinadmin.com @lazywinadmin #> ######################### # WINDOWS, PATH, HELP # ######################### # Refresh my local help Start-Job -Name "UpdateHelp" -ScriptBlock { Update-...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/Test-ADCredential.ps1
PowerShell
mit
2,846
master
481
Function Test-ADCredential { Param($username, $password, $domain) Add-Type -AssemblyName System.DirectoryServices.AccountManagement $ct = [System.DirectoryServices.AccountManagement.ContextType]::Domain $pc = New-Object -TypeName System.DirectoryServices.AccountManagement.PrincipalContext($ct, $domain) ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/Get-UsefulNetMethod.ps1
PowerShell
mit
2,846
master
283
Write-Host "[Math]::Round(7.9)" Write-Host "[Convert]::ToString(576255753217, 8)" Write-Host "[Guid]::NewGuid()" Write-Host "[Net.Dns]::GetHostByName('schulung12')" Write-Host "[IO.Path]::GetExtension('c:\test.txt')" Write-Host "[IO.Path]::ChangeExtension('c:\test.txt', 'bak')"
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/connect-office365.ps1
PowerShell
mit
2,846
master
4,092
function Connect-Office365 { <# .SYNOPSIS This function will prompt for credentials, load module MSOLservice, load implicit modules for Office 365 Services (AD, Lync, Exchange) using PSSession. .DESCRIPTION This function will prompt for credentials, load module MSOLservice, load implicit modules for...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/Find-Apartment.ps1
PowerShell
mit
2,846
master
2,227
Function Find-Apartment { <# .SYNOPSIS Allow you search Appartement in craigslist .DESCRIPTION .NOTES #http://masterrex.com/?p=64 #> param ( [Parameter(Mandatory = $False)]$MinPrice = "0", [Parameter(Mandatory = $False)]$MaxPrice = "9999", [Parameter(Manda...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/Get-NetAccelerator.ps1
PowerShell
mit
2,846
master
115
function Get-Accelerators { [psobject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::get }
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/show-object.ps1
PowerShell
mit
2,846
master
10,280
############################################################################# ## ## Show-Object ## ## From Windows PowerShell Cookbook (O'Reilly) ## by Lee Holmes (http://www.leeholmes.com/guide) ## ############################################################################## function show-object { <# .SYNOPSIS ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/View-Cats.ps1
PowerShell
mit
2,846
master
712
function View-Cats { <# .SYNOPSIS This will open Internet explorer and show a different cat every 5 seconds .DESCRIPTION .NOTES #http://www.reddit.com/r/PowerShell/comments/2htfog/viewcats/ #> Param( [int]$refreshtime = 5 ) $IE = New-Object -ComObject internetexpl...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/clx.ps1
PowerShell
mit
2,846
master
88
Function clx { [System.Console]::SetWindowPosition(0, [System.Console]::CursorTop) }
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
_Profiles/functions/Test-DatePattern.ps1
PowerShell
mit
2,846
master
679
function Test-DatePattern { #http://jdhitsolutions.com/blog/2014/10/powershell-dates-times-and-formats/ $patterns = "d", "D", "g", "G", "f", "F", "m", "o", "r", "s", "t", "T", "u", "U", "Y", "dd", "MM", "yyyy", "yy", "hh", "mm", "ss", "yyyyMMdd", "yyyyMMddhhmm", "yyyyMMddhhmmss" Write-Host "It is now $(Get...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-GROUP-Get-ParentGroup/AD-GROUP-Get-ParentGroup.ps1
PowerShell
mit
2,846
master
2,793
function Get-ParentGroup { <# .SYNOPSIS Find all Nested members of a group .DESCRIPTION Find all Nested members of a group .PARAMETER Name Specify one or more GroupName to audit .Example Get-NestedMember -GroupName TESTGROUP This will find all the indirect me...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-TOOL-Test-ADCredential/Test-ADCredential.ps1
PowerShell
mit
2,846
master
1,102
<# .Synopsis Verify Active Directory credentials .DESCRIPTION This function takes a user name and a password as input and will verify if the combination is correct. The function returns a boolean based on the result. .NOTES Name: Test-ADCredential Version: 1.0 .PARAMETER UserName The samaccountname of the Active Dir...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-New-CimSmartSession/New-CimSmartSession.ps1
PowerShell
mit
2,846
master
4,294
function New-CimSmartSession { <# .SYNOPSIS Function to create a CimSession to remote computer using either WSMAN or DCOM protocol. .DESCRIPTION Function to create a CimSession to remote computer using either WSMAN or DCOM protocol. This function requires at least PowerShell v3. .PARAMETER ComputerNam...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
tests/Add-LocalGroupMember.ps1
PowerShell
mit
2,846
master
1,494
Function Add-LocalGroupMember { <# .SYNOPSIS .DESCRIPTION .PARAMETER .EXAMPLE .NOTES Add support for local user/group and ad user/group New-ADGroup -Name "AdmServer$env:COMPUTERNAME" -GroupScope Global -GroupCategory Security -Path $ouPath $fqdn = $_.DNSRoot ([adsi]"WinNT:/...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
tests/help.tests.ps1
PowerShell
mit
2,846
master
2,901
$scripts = Get-ChildItem -Path (Split-Path $PSScriptRoot -parent) -Recurse -Filter *.ps1 | Where-Object -FilterScript { $_.FullName -NotMatch '.Tests.' -and $_.Fullname -notmatch [regex]::Escape('_Profiles') -and $_.Fullname -notmatch [regex]::Escape('_Template') } | Sort-Object [regex]...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
tests/AD-TokenGroups_Test.ps1
PowerShell
mit
2,846
master
2,801
$UserSam = "TestAccount" $Search = New-Object -TypeName System.DirectoryServices.DirectorySearcher -ErrorAction 'Stop' $Search.Filter = "(&((objectclass=user)(samaccountname=$UserSam)))" $Search.FindAll() | ForEach-Object -Process { $Account = $_ $AccountGetDirectory = $Account.GetDirectoryEntry(); # Add ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-COMPUTER-Get-DomainComputer/Get-DomainComputer.ps1
PowerShell
mit
2,846
master
10,072
Function Get-DomainComputer { <# .SYNOPSIS The Get-DomainComputer function allows you to get information from an Active Directory Computer object using ADSI. .DESCRIPTION The Get-DomainComputer function allows you to get information from an Active Directory Computer object using ADSI. You can specify: ho...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-New-RandomPassword/New-RandomPassword.ps1
PowerShell
mit
2,846
master
1,605
function New-RandomPassword { <# .SYNOPSIS Function to generate a complex and random password .DESCRIPTION Function to generate a complex and random password This is using the GeneratePassword method from the system.web.security.membership NET Class. https://msdn.microsoft.com/en-us/library/sy...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-USER-Get-ADDirectReport/Get-ADDirectReport.ps1
PowerShell
mit
2,846
master
4,188
function Get-ADDirectReports { <# .SYNOPSIS This function retrieve the directreports property from the IdentitySpecified. Optionally you can specify the Recurse parameter to find all the indirect users reporting to the specify account (Identity). .DESCRIPTION This function r...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-LocalGroupMember/Get-LocalGroupMember.ps1
PowerShell
mit
2,846
master
2,257
function Get-LocalGroupMember { <# .SYNOPSIS Retrieve a Local Group membership .DESCRIPTION Retrieve a Local Group membership .PARAMETER ComputerName Specifies one or computers to query .PARAMETER GroupName Specifies the Group name .EXAMPLE Get-LocalGroupM...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-SITE-Get-ADSiteInventory/Get-ADSiteInventory.ps1
PowerShell
mit
2,846
master
5,055
function Get-ADSiteInventory { <# .SYNOPSIS This function will retrieve information about the Sites and Services of the Active Directory .DESCRIPTION This function will retrieve information about the Sites and Services of the Active Directory .EXAMPLE Get-ADSiteInventory ....
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-NetworkLevelAuthentication/Get-NetworkLevelAuthentication.ps1
PowerShell
mit
2,846
master
5,773
function Get-NetworkLevelAuthentication { <# .SYNOPSIS This function will get the NLA setting on a local machine or remote machine .DESCRIPTION This function will get the NLA setting on a local machine or remote machine .PARAMETER ComputerName Specify one or more computer to query .PARAMETER Creden...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
O365-Update-O365UserUPNSuffix/Update-O365UserUPNSuffix.ps1
PowerShell
mit
2,846
master
5,639
function Update-O365UserUPNSuffix { <# .SYNOPSIS Function to correct the UPN of a user in Office365 (O365) and Active Directory (AD) .DESCRIPTION Function to correct the UPN of a user in Office365 (O365) and Active Directory (AD). Once modified you might want to force the sync betwe...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Remove-StringDiacritic/Remove-StringDiacritic.ps1
PowerShell
mit
2,846
master
1,719
function Remove-StringDiacritic { <# .SYNOPSIS This function will remove the diacritics (accents) characters from a string. .DESCRIPTION This function will remove the diacritics (accents) characters from a string. .PARAMETER String Specifies the String(s) on which the diacritics need to be removed .P...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Send-Email/TOOL-Send-Email.ps1
PowerShell
mit
2,846
master
10,064
function Send-Email { <# .SYNOPSIS This function allows you to send email .DESCRIPTION This function allows you to send email using the NET Class System.Net.Mail .PARAMETER To A description of the To parameter. .PARAMETER From A description of the From parameter. ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-ConvertFrom-Base64/ConvertFrom-Base64.ps1
PowerShell
mit
2,846
master
1,123
function ConvertFrom-Base64 { <# .SYNOPSIS Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array. .DESCRIPTION Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned inte...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-New-Password/New-Password.ps1
PowerShell
mit
2,846
master
3,184
function New-Password { <# .SYNOPSIS Function to Generate a new password. .DESCRIPTION Function to Generate a new password. By default it will generate a 12 characters length password, you can change this using the parameter Length. I excluded the following characters: ",',....
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AZURE-Get-AzToken/Get-AzToken.ps1
PowerShell
mit
2,846
master
1,101
<# .SYNOPSIS Retrieve token of the current Azure Context session .DESCRIPTION Retrieve token of the current Azure Context session This is using the Get-AzContext cmdlets from the module Az.Account and assume a session is already opened. .EXAMPLE $token=Get-AzToken $uri = "https://management.azure.c...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Remove-StringSpecialCharacter/Remove-StringSpecialCharacter.ps1
PowerShell
mit
2,846
master
2,223
function Remove-StringSpecialCharacter { <# .SYNOPSIS This function will remove the special character from a string. .DESCRIPTION This function will remove the special character from a string. I'm using Unicode Regular Expressions with the following categories \p{L} : any kind of letter from any la...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-AsciiReaction/Get-AsciiReaction.ps1
PowerShell
mit
2,846
master
4,420
function Get-AsciiReaction { <# .SYNOPSIS Displays Ascii for different reactions and copies it to clipboard. .DESCRIPTION Displays Ascii for different reactions and copies it to clipboard. .EXAMPLE Get-AsciiReaction -Name Shrug Displays a shurg and copies it to clipboard. .NO...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-New-ScriptMessage/New-ScriptMessage.ps1
PowerShell
mit
2,846
master
2,657
function New-ScriptMessage { <# .SYNOPSIS Helper Function to show default message used in VERBOSE/DEBUG/WARNING .DESCRIPTION Helper Function to show default message used in VERBOSE/DEBUG/WARNING and... HOST in some case. This is helpful to standardize the output messages ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemAffectedCI/Get-SCSMWorkItemAffectedCI.ps1
PowerShell
mit
2,846
master
999
function Get-SCSMWorkItemAffectedCI { <# .SYNOPSIS Function to retrieve the affected configuration item of a System Center Service Manager Work Item .DESCRIPTION Function to retrieve the affected configuration item of a System Center Service Manager Work Item .PARAMETER GUID Sp...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-FSMO-Get-ADFSMORole/AD-FSMO-Get-ADFSMORole.ps1
PowerShell
mit
2,846
master
2,145
function Get-ADFSMORole { <# .SYNOPSIS Retrieve the FSMO Role in the Forest/Domain. .DESCRIPTION Retrieve the FSMO Role in the Forest/Domain. .PARAMETER Credential Specify the alternative credential to use .EXAMPLE Get-ADFSMORole .EXAMPLE Get-ADFSMORole -Credential (Get-Credential -Credential "C...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemUserInput/Get-SCSMWorkItemUserInput.ps1
PowerShell
mit
2,846
master
2,445
function Get-SCSMWorkItemUserInput { <# .SYNOPSIS Retrieve the input text provided by the user .DESCRIPTION Retrieve the input text provided by the user .PARAMETER WorkItemObject Specify the WorkItem Object Typically you'll need to retrieve the object prior to use this co...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Clean-MacAddress/Clean-MacAddress.ps1
PowerShell
mit
2,846
master
2,928
function Clean-MacAddress { <# .SYNOPSIS Function to cleanup a MACAddress string .DESCRIPTION Function to cleanup a MACAddress string .PARAMETER MacAddress Specifies the MacAddress .PARAMETER Separator Specifies the separator every two characters .PARAMETER Up...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-GROUP-Monitor_MemberShip/AD-GROUP-Monitor_MemberShip.ps1
PowerShell
mit
2,846
master
38,170
# Script is now maintained on the following repository: https://github.com/lazywinadmin/Monitor-ADGroupMembership <# .SYNOPSIS This script is monitoring group(s) in Active Directory and send an email when someone is changing the membership. .DESCRIPTION This script is monitoring group(s) in Active Directory a...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Read-ExcelFile/Read-ExcelFile-Example_Using_COM.ps1
PowerShell
mit
2,846
master
1,780
<# https://lazywinadmin.com/2014/03/powershell-read-excel-file-using-com.html #> [cmdletbinding()] PARAM ( [Parameter(Mandatory, HelpMessage = "You must specify the full path of the file")] [ValidateScript( { Test-Path -Path $_ })] $Path, [Parameter(Mandatory, HelpMessage = "You must spe...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemCreatedByUser/Get-SCSMWorkItemCreatedByUser.ps1
PowerShell
mit
2,846
master
2,384
function Get-SCSMWorkItemCreatedByUser { <# .SYNOPSIS Function to retrieve the Created By User of a Work Item .DESCRIPTION Function to retrieve the Created By User of a Work Item .PARAMETER SMObject Specifies the SMObject(s) on which the Created By need to be retrieve. .PA...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-HelpMessage/Get-HelpMessage.ps1
PowerShell
mit
2,846
master
1,273
function Get-HelpMessage { <# .SYNOPSIS Function to explain why an error occurred and provides problem-solving information. Equivalent of NET HELPMSG .DESCRIPTION Function to explain why an error occurred and provides problem-solving information. Equivalent of NET HELPMSG. The function...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMReviewActivityReviewer/Get-SCSMReviewActivityReviewer.ps1
PowerShell
mit
2,846
master
2,027
function Get-SCSMReviewActivityReviewer { <# .SYNOPSIS Function to retrieve the reviewers of a Review Activity .DESCRIPTION Function to retrieve the reviewers of a Review Activity .PARAMETER ActivityObject Specifies the Service Manager Object .PARAMETER ActivityName Specifies the Name of the Ticket (Example RA1000) ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Set-SCSMMAStatus/SCSM-Set-SCSMMAStatus.ps1
PowerShell
mit
2,846
master
1,681
Function Set-SCSMMAStatus { <# .SYNOPSIS Set the status of a Manual Activity .DESCRIPTION Set the status of a Manual Activity .PARAMETER ManualActivityID Specify the ID of the Manual Activity .PARAMETER Status Specify the status of the Manual activity Status ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Out-Excel/Out-Excel.ps1
PowerShell
mit
2,846
master
3,492
function Out-Excel { <# .SYNOPSIS Convert PowerShellObject to Excel file .DESCRIPTION Convert PowerShellObject to Excel file .PARAMETER Property Specify the list of properties. If not specified it will retrieve all the properties on the object .PARAMETER Raw Specify the input object .EXAMPLE ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-SITE-Add-ADSubnet(ADSI)/Add-ADSubnet.ps1
PowerShell
mit
2,846
master
3,833
Function Add-ADSubnet { <# .SYNOPSIS This function allow you to add a subnet object in your active directory using ADSI .DESCRIPTION This function allow you to add a subnet object in your active directory using ADSI .PARAMETER Subnet Specifies the Name of the subnet to add ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Test-RemoteDesktopIsEnabled/Test-RemoteDesktopIsEnabled.ps1
PowerShell
mit
2,846
master
1,352
function Test-RemoteDesktopIsEnabled { <# .SYNOPSIS Function to check if RDP is enabled .DESCRIPTION Function to check if RDP is enabled .EXAMPLE Test-RemoteDesktopIsEnabled Test if Remote Desktop is enabled on the current machine .EXAMPLE Test-RemoteDesktopIsEnabled -ComputerName SERVER01,SERVER02 ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Repair-ScriptFormat/Repair-ScriptFormat.ps1
PowerShell
mit
2,846
master
790
function Repair-ScriptFormat { [CmdletBinding()] param ( [Parameter(ValueFromPipeline)] [ValidateScript( { Test-Path -Path $_ })] $Path, [System.String]$Settings = 'CodeFormatting' ) begin { #Validate PSScriptAnalyzer is present #minimum vers } p...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Remove-PSObjectEmptyOrNullProperty/Remove-PSObjectEmptyOrNullProperty.ps1
PowerShell
mit
2,846
master
851
function Remove-PSObjectEmptyOrNullProperty { <# .SYNOPSIS Function to Remove all the empty or null properties with empty value in a PowerShell Object .DESCRIPTION Function to Remove all the empty or null properties with empty value in a PowerShell Object .PARAMETER PSObject Sp...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMIRComment/Get-SCSMIRComment.ps1
PowerShell
mit
2,846
master
1,848
function Get-SCSMIRComment { <# .SYNOPSIS Function to retrieve all the comment of a Incident Request .DESCRIPTION Function to retrieve all the comment of a Incident Request .PARAMETER Incident Specifies the Incident Request Object. .EXAMPLE PS C:\> Get-SCSMIRCommen...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-PendingReboot/Get-PendingReboot.ps1
PowerShell
mit
2,846
master
9,450
Function Get-PendingReboot { <# .SYNOPSIS Gets the pending reboot status on a local or remote computer. .DESCRIPTION This function will query the registry on a local or remote computer and determine if the system is pending a reboot, from either Microsoft Patching or a Software Installation. For Wi...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-NetFramework/Get-NetFramework.ps1
PowerShell
mit
2,846
master
2,446
function Get-NetFramework { <# .SYNOPSIS This function will retrieve the list of Framework Installed on the computer. .DESCRIPTION This function will retrieve the list of Framework Installed on the computer. .EXAMPLE Get-NetFramework PSChildName Version -------...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Add-SCSMReviewActivityReviewer/Add-SCSMReviewActivityReviewer.ps1
PowerShell
mit
2,846
master
2,519
function Add-SCSMReviewActivityReviewer { <# .SYNOPSIS Function to add a reviewer to a Review Activity item .DESCRIPTION Function to add a reviewer to a Review Activity item .PARAMETER UserName Specifies the UserName to add .PARAMETER Veto Specifies the Veto. Defau...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Add-SCSMServiceRequestComment/Add-SCSMServiceRequestComment.ps1
PowerShell
mit
2,846
master
2,503
Function Add-SCSMServiceRequestComment { <# .SYNOPSIS Function to add a comment to a Service Request .DESCRIPTION Function to add a comment to a Service Request .PARAMETER SRObject Specify the Service Request Object .PARAMETER Comment Specify the comment text to add ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-SITE-Get-ADSIComputerSite/Get-ADSIComputerSite.ps1
PowerShell
mit
2,846
master
2,716
function Get-ADSIComputerSite { <# .SYNOPSIS Function to retrieve the AD Site of a Computer .DESCRIPTION Function to retrieve the AD Site of a Computer This function does not rely on the .NET Framework to retrieve the information http://www.pinvoke.net/default.aspx/netapi32.dsgetsitename Ther...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-ISEShortcut/Get-ISEShortcut.ps1
PowerShell
mit
2,846
master
1,477
function Get-ISEShortCut { <# .SYNOPSIS List ISE Shortcuts .DESCRIPTION List ISE Shortcuts. This won't run in a regular powershell console, only in ISE. .EXAMPLE Get-ISEShortcut Will list all the shortcuts available .EXAMPLE Get-Help Get-ISEShortcut -Online Will show technet page of ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemRelatedCI/Get-SCSMWorkItemRelatedCI.ps1
PowerShell
mit
2,846
master
994
function Get-SCSMWorkItemRelatedCI { <# .SYNOPSIS Function to retrieve the related configuration item of a System Center Service Manager Work Item .DESCRIPTION Function to retrieve the related configuration item of a System Center Service Manager Work Item .PARAMETER GUID Speci...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
O365-Connect-Office365/Connect-Office365.ps1
PowerShell
mit
2,846
master
4,135
function Connect-Office365 { <# .SYNOPSIS This function will prompt for credentials, load module MSOLservice, load implicit modules for Office 365 Services (AD, Lync, Exchange) using PSSession. .DESCRIPTION This function will prompt for credentials, load module MSOLservice, load implicit modules for...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-ScriptDirectory/Get-ScriptDirectory.ps1
PowerShell
mit
2,846
master
429
function Get-ScriptDirectory { <# .SYNOPSIS This function retrieve the current folder path .DESCRIPTION This function retrieve the current folder path .EXAMPLE Get-ScriptDirectory .LINK https://github.com/lazywinadmin/PowerShell #> if ($null -eq $hostinvocation) { Split-Path -Path $hostinv...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
VMware-STORAGE-Get-VMhostHbaInfo/Get-VMhostHbaInfo.ps1
PowerShell
mit
2,846
master
10,677
Function Get-VMhostHbaInfo { <# .SYNOPSIS The function Get-VMHostHBAInfo is gathering HBA cards information using PowerCli cmdlets and SSH connection to get additional details. .DESCRIPTION The function Get-VMHostHBAInfo is gathering HBA cards information using PowerCli cmdlets and SSH connection to get ad...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Start-KeyLogger/Start-KeyLogger.ps1
PowerShell
mit
2,846
master
3,123
#requires -Version 2 function Start-KeyLogger($Path = "$env:temp\keylogger.txt") { <# .DESCRIPTION By accessing the Windows low-level API functions, a script can constantly monitor the keyboard for keypresses and log these to a file. This effectively produces a keylogger. Run the functi...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-USER-Report_Expiring_users/AD-USER-Report_Expiring_users.ps1
PowerShell
mit
2,846
master
7,242
<# .SYNOPSIS Script to report expiring user account .DESCRIPTION Script to report expiring user account .PARAMETER Days Specifies the number of days to look up .PARAMETER SearchBase Specifies the DistinguishedName .PARAMETER EmailFrom Specifies the email origin .PARAMETER EmailTo Specifies the e...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Set-PowerShellWindowTitle/Set-PowerShellWindowTitle.ps1
PowerShell
mit
2,846
master
604
function Set-PowerShellWindowTitle { <# .SYNOPSIS Function to set the title of the PowerShell Window .DESCRIPTION Function to set the title of the PowerShell Window .PARAMETER Title Specifies the Title of the PowerShell Window .EXAMPLE PS C:\> Set-PowerShellWindowT...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCCM-Get-SCCMUserCollectionDeployment/Get-SCCMUserCollectionDeployment.ps1
PowerShell
mit
2,846
master
5,501
function Get-SCCMUserCollectionDeployment { <# .SYNOPSIS Function to retrieve a User's collection deployment .DESCRIPTION Function to retrieve a User's collection deployment The function will first retrieve all the collection where the user is member of and find deployments ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemAssignedUser/Get-SCSMWorkItemAssignedUser.ps1
PowerShell
mit
2,846
master
2,368
function Get-SCSMWorkItemAssignedUser { <# .SYNOPSIS Function to retrieve the Assigned User of a Work Item .DESCRIPTION Function to retrieve the Assigned User of a Work Item .PARAMETER SMObject Specifies the SMObject(s) on which the Assigned need to be retrieve. .PARAMETER...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCCM-Get-SCCMClientCacheInformation/Get-SCCMClientCacheInformation.ps1
PowerShell
mit
2,846
master
1,904
function Get-SCCMClientCacheInformation { <# .SYNOPSIS Function to get the cache size on a SCCM Client .DESCRIPTION Function to get the cache size on a SCCM Client .PARAMETER ComputerName Specifies the name of the client .PARAMETER Credential Specifies the credential ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-USER-Get-AccountLockedOut/AD-USER-Get-AccountLockedOut.ps1
PowerShell
mit
2,846
master
4,312
Function Get-AccountLockedOut { <# .SYNOPSIS This function will find the device where the account get lockedout .DESCRIPTION This function will find the device where the account get lockedout. It will query directly the PDC for this information .PARAMETER DomainName Specifies the DomainName to que...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Set-RemoteDesktop/Set-RemoteDesktop.ps1
PowerShell
mit
2,846
master
1,643
function Set-RemoteDesktop { <# .SYNOPSIS The function Set-RemoteDesktop allows you to enable or disable RDP remotely using the registry .DESCRIPTION The function Set-RemoteDesktop allows you to enable or disable RDP remotely using the registry .PARAMETER ComputerName Specifies...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-HashTableEmptyValue/Get-HashTableEmptyValue.ps1
PowerShell
mit
2,846
master
725
Function Get-HashTableEmptyValue { <# .SYNOPSIS This function will get the empty or Null entry of a hashtable object .DESCRIPTION This function will get the empty or Null entry of a hashtable object .PARAMETER Hashtable Specifies the hashtable that will be showed .EXAMPLE Get-HashTableEmptyValue -Ha...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-ConvertTo-StringList/ConvertTo-StringList.ps1
PowerShell
mit
2,846
master
2,205
function ConvertTo-StringList { <# .SYNOPSIS Function to convert an array into a string list with a delimiter. .DESCRIPTION Function to convert an array into a string list with a delimiter. .PARAMETER Array Specifies the array to process. .PARAMETER Delimiter Separ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AZURE-Policy-allow_resource_type/policy-allow_resource_type.ps1
PowerShell
mit
2,846
master
7,665
<# .SYNOPSIS Retrieve Resource Provider Types, create an assignment for the policy definition 'Allowed resource types' and pass the resourcetypes as parameter (-listOfResourceTypesAllowed) .DESCRIPTION Retrieve Resource Provider Types, create an assignment for the policy definition 'Allowed resource...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Disable-RemoteDesktop/Disable-RemoteDesktop.ps1
PowerShell
mit
2,846
master
7,183
function Disable-RemoteDesktop { <# .SYNOPSIS The function Disable-RemoteDesktop will disable RemoteDesktop on a local or remote machine. .DESCRIPTION The function Disable-RemoteDesktop will disable RemoteDesktop on a local or remote machine. .PARAMETER ComputerName Specifies t...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-LocalAdministrator/Get-LocalAdministrator.ps1
PowerShell
mit
2,846
master
1,608
function Get-LocalAdministratorBuiltin { <# .SYNOPSIS function to retrieve the local Administrator account .DESCRIPTION function to retrieve the local Administrator account .PARAMETER ComputerName Specifies the computername .EXAMPLE PS C:\> Get-LocalAdministratorBu...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Invoke-Ping/Invoke-Ping.ps1
PowerShell
mit
2,846
master
40,908
Function Invoke-Ping { <# .SYNOPSIS Ping or test connectivity to systems in parallel .DESCRIPTION Ping or test connectivity to systems in parallel Default action will run a ping against systems If Quiet parameter is specified, we return an array of systems that responded If Detail para...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AZURE-Get-PolicyComplianceData/Get-PolicyComplianceData.ps1
PowerShell
mit
2,846
master
1,684
<#PSScriptInfo .VERSION 1.0 .GUID f2d5adaf-ed37-4dcc-96d5-2ac72b770cf8 .AUTHOR Francois-Xavier Cat .COMPANYNAME .COPYRIGHT .TAGS .LICENSEURI .PROJECTURI https://github.com/lazywinadmin/PowerShell .ICONURI .EXTERNALMODULEDEPENDENCIES .REQUIREDSCRIPTS .EXTERNALSCRIPTDEPENDENCIES .RELEASENOTES .PRIVATEDA...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMUserManager/Get-SCSMUserManager.ps1
PowerShell
mit
2,846
master
1,846
Function Get-SCSMUserManager { <# .SYNOPSIS Function to retrieve the manager of a user .DESCRIPTION Function to retrieve the manager of a user .PARAMETER UserID Specify the User ID .EXAMPLE Get-SCSMUserManager -UserID $UserID .LINK https://github.com/lazyw...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Set-NetworkLevelAuthentication/Set-NetworkLevelAuthentication.ps1
PowerShell
mit
2,846
master
5,511
function Set-NetworkLevelAuthentication { <# .SYNOPSIS This function will set the NLA setting on a local machine or remote machine .DESCRIPTION This function will set the NLA setting on a local machine or remote machine .PARAMETER ComputerName Specify one or more computers .PARAMETER EnableNLA S...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-GROUP-Get-NestedMember/AD-GROUP-Get-NestedMember.ps1
PowerShell
mit
2,846
master
4,151
function Get-NestedMember { <# .SYNOPSIS Find all Nested members of a group .DESCRIPTION Find all Nested members of a group .PARAMETER GroupName Specify one or more GroupName to audit .PARAMETER RelationShipPath Show the relation ship path .PARAMETER MaxDepth ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AZURE-AppService-WebApps_without_VNETIntegration/WebApps_without_VNETIntegration.ps1
PowerShell
mit
2,846
master
3,872
<# .SYNOPSIS Retrieve WebApps without VNET Integration in the current Tenant .DESCRIPTION This script will do the following steps: -Using Resource Graph API: Retrieve WebApp accross the tenant -Using Management API: Check if they have a VNET Integration present -If Not, Output the WebApp information .EXAMPLE ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemRequestOffering/Get-SCSMWorkItemRequestOffering.ps1
PowerShell
mit
2,846
master
1,759
function Get-SCSMWorkItemRequestOffering { <# .SYNOPSIS Function to retrieve the RequestOffering used to create a specific work item. .DESCRIPTION Function to retrieve the RequestOffering used to create a specific work item. It will output the full object and add the work item Name ...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
O365-Get-O365CalendarEvent/O365-Get-O365CalendarEvent.ps1
PowerShell
mit
2,846
master
7,673
function Get-O365CalendarEvent { <# .SYNOPSIS Function to gather Calendar Events between two specific dates .DESCRIPTION Function to gather Calendar Events between two specific dates It is using the REST API available against Office365 .PARAMETER EmailAddress Specifies the mailbox email address to...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCCM-Add-SCCMUserDeviceAffinity/Add-SCCMUserDeviceAffinity.ps1
PowerShell
mit
2,846
master
2,285
Function Add-SCCMUserDeviceAffinity { <# .SYNOPSIS Function to add a primary user on a device .DESCRIPTION Function to add a primary user on a device .PARAMETER SiteCode Specifies the SCCM SiteCode .PARAMETER SiteServer Specifies the SCCM Management Server .PA...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
O365-GROUP-Get-DistributionGroupRecursive/O365-GROUP-Get-DistributionGroupRecursive.ps1
PowerShell
mit
2,846
master
2,102
function Get-DistributionGroupMemberRecursive { <# .SYNOPSIS This script will list all the members (recursively) of a DistributionGroup .EXAMPLE Get-DistributionGroupMemberRecursive -Group TestDG -Verbose .NOTES Francois-Xavier Cat lazywinadmin.com @lazywinadmin #> [CmdletBinding()] PAR...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AZURE-AppService-Update_RestrictionIP/AppService-Update_RestrictionIP.ps1
PowerShell
mit
2,846
master
4,184
<# .SYNOPSIS Script to update or overwrite App Service IP Rules Restriction based on a CSV file provided .DESCRIPTION Script to update or overwrite App Service IP Rules Restriction based on a CSV file provided The script only validate the IPAddress property to defined if an IP Rule is already present. It does not chec...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
TOOL-Get-ProcessForeignAddress/Get-ProcessForeignAddress.ps1
PowerShell
mit
2,846
master
1,492
function Get-ProcessForeignAddress { <# .SYNOPSIS Get all foreignIPAddress for all or specific processname .DESCRIPTION Get all foreignIPAddress for all or specific processname .PARAMETER ProcessName Specifies the ProcessName to filter on .EXAMPLE Get-ProcessForeignAddress Retrieve all the f...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCSM-Get-SCSMWorkItemAffectedUser/Get-SCSMWorkItemAffectedUser.ps1
PowerShell
mit
2,846
master
2,451
function Get-SCSMWorkItemAffectedUser { <# .SYNOPSIS Function to retrieve the Affected User of a Work Item .DESCRIPTION Function to retrieve the Affected User of a Work Item .PARAMETER SMObject Specifies the SMObject(s) on which the affected need to be retrieve. .PARAMETER...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-COMPUTER-New-ADDomainJoin/New-ADDomainJoin.ps1
PowerShell
mit
2,846
master
29,954
function New-ADDomainJoin { <# .Synopsis Perform offline domain join in c#/PowerShell without djoin.exe .Description Perform offline domain join in c#/PowerShell without djoin.exe This will create an object in active directory and output the blob needed to join the machine offline If needed, you ca...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
SCCM-New-SCCMDeviceVariable/New-SCCMDeviceVariable.ps1
PowerShell
mit
2,846
master
6,638
function New-SCCMDeviceVariable { <# .SYNOPSIS function to create a new SCCM Device Variable .DESCRIPTION function to create a new SCCM Device Variable This function is relying on WMI to create a new SCCM Device Variable. You don't need the SCCM Module or SCCM Console insta...
github
lazywinadmin/PowerShell
https://github.com/lazywinadmin/PowerShell
AD-SITE-Find_Missing_Subnets/AD-Find_missing_subnets_in_ActiveDirectory.ps1
PowerShell
mit
2,846
master
17,969
<# .SYNOPSIS This script goal is to get all the missing subnets from the NETLOGON.LOG file from each Domain Controllers in the Active Directory. It will copy all the NETLOGON.LOG locally and parse them. .DESCRIPTION This script goal is to get all the missing subnets from the ...