You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN pwsh -command Install-Module -Name Microsoft.Graph.Beta.Security -RequiredVersion 2.20.0
11
11
RUN pwsh -command Install-Module -Name Microsoft.Graph.Identity.DirectoryManagement -RequiredVersion 2.20.0
12
12
RUN pwsh -command Install-Module -Name PoshRSJob -RequiredVersion 1.7.4.4
13
+
RUN pwsh -command mkdir /tmp/posh
14
+
RUN pwsh -command Invoke-WebRequest -UseBasicParsing -Uri 'https://www.powershellgallery.com/api/v2/package/PoshRSJob/1.7.4.4' -OutFile '/tmp/posh/PoshRSJob.1.7.4.4.nupkg'
15
+
RUN pwsh -command Register-PSRepository -Name local -SourceLocation /tmp/posh -InstallationPolicy Trusted
16
+
RUN pwsh -command Install-Module PoshRSJob -Verbose -Scope AllUsers -Repository local
13
17
RUN mkdir -p /root/.config/powershell
14
18
RUN echo 'Write-Host -ForegroundColor Yellow "DFIR-O365RC: PowerShell module for Microsoft 365 and Entra ID log collection"' > /root/.config/powershell/Microsoft.PowerShell_profile.ps1
15
19
RUN echo 'Write-Host -ForegroundColor Yellow "https://github.com/ANSSI-FR/DFIR-O365RC"' >> /root/.config/powershell/Microsoft.PowerShell_profile.ps1
0 commit comments