I hereby claim:
- I am jorgeasaurus on github.
- I am jorgeasaurus (https://keybase.io/jorgeasaurus) on keybase.
- I have a public key ASD0iZ4v2MzrVAdZ_xjuzHbW3WTop0n3TFNMErkHrYbdNgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function Invoke-Rejection { | |
<# | |
.SYNOPSIS | |
Retrieves a random rejection reason from the No-as-a-Service API. | |
.DESCRIPTION | |
Sends an HTTP GET request to the No-as-a-Service (NAAS) API endpoint and returns a randomly generated rejection message. | |
This function is useful for applications requiring humorous or creative rejection responses. | |
.INPUTS |
function Get-StoicQuote { | |
<# | |
.SYNOPSIS | |
Fetches a random Stoicism quote from the Stoic API. | |
.DESCRIPTION | |
This function retrieves a random Stoicism quote from the API and displays the | |
author and quote to the user. The API does not require authentication. | |
.EXAMPLE |
#Requires -Version 7.0 | |
<# | |
.SYNOPSIS | |
Updates PowerShell modules to their latest versions. | |
.DESCRIPTION | |
Updates all or specified PowerShell modules to their latest versions, with options for | |
prerelease versions and parallel processing. Automatically removes older versions after update. | |
.PARAMETER AllowPrerelease | |
If specified, allows updating to prerelease versions. | |
.PARAMETER Name |
# Output | |
Write-Output "Hello, World!" # Outputs: Hello, World! | |
# Variables | |
$x = 5 # Integer variable | |
$name = "Alice" # String variable | |
$a, $b, $c = 1, 2, 3 # Multiple assignments | |
# Data Types | |
$integer = 10 # [int] |
"Get-MgBetaUser", | |
"Get-MgBetagroup", | |
"Sync-MgBetaDeviceManagementDepOnboardingSettingWithAppleDeviceEnrollmentProgram", | |
"Get-MgBetaDeviceAppManagementMobileApp", | |
"Sync-MgBetaDeviceAppManagementVppTokenLicense", | |
"Get-MgBetaDeviceAppManagementVppToken" | % { | |
$cmdlet = $_ | |
Find-MgGraphCommand $cmdlet | select -ExpandProperty Permissions | |
} | Sort-Object Name -Unique |
function Get-PSModuleUpdates { | |
param | |
( | |
[Parameter(ValueFromPipelineByPropertyName, Mandatory)] | |
[string]$Name, | |
[Parameter(ValueFromPipelineByPropertyName, Mandatory)] | |
[version]$Version, | |
[Parameter(ValueFromPipelineByPropertyName)] |