---
> *From:* 'Rowe, Walter P. (Fed)' via Ansible Project <
> ansible...@googlegroups.com>
> *Sent:* Thursday, March 16, 2023 12:50 AM
> *To:* ansible...@googlegroups.com
> *Subject:* Re: [ansible-project] Ansible Powershell Usage
>
> If you are t
ps://aka.ms/o0ukef>
From: 'Rowe, Walter P. (Fed)' via Ansible Project
Sent: Thursday, March 16, 2023 12:50 AM
To: ansible-project@googlegroups.com
Subject: Re: [ansible-project] Ansible Powershell Usage
If you are truly managing Windows resources look at win_dsc.
h
If you are truly managing Windows resources look at win_dsc.
https://docs.ansible.com/ansible/latest/os_guide/windows_dsc.html
Walter
--
Walter Rowe, Division Chief
Infrastructure Services, OISM
Mobile: 202.355.4123
On Mar 14, 2023, at 3:59 PM, Shawn Singh wrote:
Also, I noticed this discussio
I'm trying to use Powershell from Ansible.
This is the code:
- name: Log into Azure
ansible.windows.win_powershell:
script: |
[CmdletBinding()]
param (
[String]
$TenantID,
[String]
$AccountID,
[SecureString]
$Secret