This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#requires -version 4.0 | |
Function Get-AVStatus { | |
<# | |
.Synopsis | |
Get anti-virus product information | |
.Description | |
This command uses WMI via the Get-CimInstance command to query the state of installed anti-virus products. The default behavior is to only display enabled products, unless you use -All. You can query by computername or existing CIMSessions. | |
.Example |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Auth to your azure account | |
Add-AzureAccount | |
Import-Module 'C:\Program Files (x86)\code4ward.net\Royal TS V3\RoyalDocument.PowerShell.dll' -Force | |
function CreateRoyalFolderHierarchy() | |
{ | |
param( | |
[string]$folderStructure, | |
[string]$splitter, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import the module | |
$RTSPSModule = Join-Path -Path ${env:ProgramFiles(x86)} -ChildPath 'code4ward.net\Royal TS V3\RoyalDocument.PowerShell.dll' | |
Import-Module $RTSPSModule | |
# Explore available cmdlets | |
Get-Command -Module RoyalDocument.PowerShell | |
# Create a new RoyalStore in memory | |
$Store = New-RoyalStore -UserName ($env:USERDOMAIN + '\' + $env:USERNAME) |
NewerOlder