Skip to content

skippernl/DocumentAzure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Azure2Word.ps1

Azure2Word uses powershell to get Azure information and puts this in a Word document

Currently Documented:

Azure Backup (VM/SQL) + Policies

Azure Bastion

Azure Firewall

Azure Network information (VNET/Subnets/NAT Gateway)

Azure Replication + Policies

Load Balancer

NSG (Network Security Groups)

Public IPs

Virtual Machine information

VPN (ExpressRoute and Site 2 site)

Works with Word Office365

Connects to Azure powershell to get information

.PARAMETER Customer

[REQUIRED] This is the companyname that is used in the documentation

.PARAMETER ReportPath

[REQUIRED] This is the path where the report is stored

.\Azure2Word -Customer Contoso -ReportPath c:\reports

.PARAMETER TenantId

[OPTIONAL] When you have mutiple Tennants (CSP) enter the Tenant GUID

.PARAMETER SubscriptionId

[OPTIONAL] When you have mutiple Subscriptions (CSP) enter the Subscription GUID

.\Azure2Word -Customer Contoso -ReportPath c:\reports Runs the script for customer Contoso and create the word file in c:\reports Running the scipt on TenantID xxxx-xxxx and SubscriptionID yyyy-yyy

.\Azure2Word -Customer Contoso -ReportPath c:\reports -TenantId xxxx-xxxx -SubscriptionId yyyy-yyyy

.PARAMETER SkipVaults

[OPTIONAL] When you do not wat Vault information (Backup and Replication)

Runs the script for customer Contoso and create the word file in c:\reports skipping Backup and Replication Documentation

.\Azure2Word -Customer Contoso -ReportPath c:\reports -SkipVaults:$true

Author: Xander Angenent (@XaAng70)

Uses modules AZ and Az.Reservations

Install-module -Name az

Install-Module -Name Az.Accounts -RequiredVersion 1.9.2

Install-Module -Name Az.Reservations

Idea: Anders Bengtsson http://contoso.se/blog/?p=4286 The Word file generation part of the script is based upon the work done by:

Carl Webster | http://www.carlwebster.com | @CarlWebster Iain Brighton | http://virtualengine.co.uk | @IainBrighton Jeff Wouters | http://www.jeffwouters.nl | @JeffWouters

Last Modified: 2021/06/14

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published