之后我向监听员提供nix账号p
求教我必须缺点什么
最佳回答Gman高手
视图原创$Header = @{"Authorization" = "Basic "+[System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($username+":"+$password ))}
each(Clusters$Clusters)
连接努塔尼斯Cluster-Server$集群-用户名-assword$secpassword-acceptiveIndissLi
slist = Get-NTNX保护域
each($pdlist)
$URL = "https://"+$Cluster+":9440/PrismGateway/services/rest/v1/protection_domains/"+$pd.name+"/schedules"
{exput= invoke-RestMethod-MethodGet-Uri$ur
/PrismGateway/services/rest/v1/
/PrismGateway/services/rest/v2.0/
/api/nutanix/v3/
https://:9440/PrismGateway/services/rest/v1/vms
https://:9440/PrismGateway/services/rest/v2.0/vms
https://:9440/api/nutanix/v3/vms